Skip to content
  • Davies Liu's avatar
    d60a9d44
    [SPARK-4051] [SQL] [PySpark] Convert Row into dictionary · d60a9d44
    Davies Liu authored
    Added a method to Row to turn row into dict:
    
    ```
    >>> row = Row(a=1)
    >>> row.asDict()
    {'a': 1}
    ```
    
    Author: Davies Liu <davies@databricks.com>
    
    Closes #2896 from davies/dict and squashes the following commits:
    
    8d97366 [Davies Liu] convert Row into dict
    d60a9d44
    [SPARK-4051] [SQL] [PySpark] Convert Row into dictionary
    Davies Liu authored
    Added a method to Row to turn row into dict:
    
    ```
    >>> row = Row(a=1)
    >>> row.asDict()
    {'a': 1}
    ```
    
    Author: Davies Liu <davies@databricks.com>
    
    Closes #2896 from davies/dict and squashes the following commits:
    
    8d97366 [Davies Liu] convert Row into dict
Loading