Details
Description
Typing
df.col[1]
and
df.col['field']
is so much eaiser than
df.col.getField('field')
df.col.getItem(1)
This would require us to define (in Column) an apply function in Scala, and a _getitem_ function in Python.
Attachments
Issue Links
- is related to
-
SPARK-7544 pyspark.sql.types.Row should implement __getitem__
- Resolved
- links to