You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Bryński (JIRA)" <ji...@apache.org> on 2015/08/17 18:32:46 UTC
[jira] [Updated] (SPARK-10056) PySpark Row - Support for
row["columnName"] syntax
[ https://issues.apache.org/jira/browse/SPARK-10056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maciej Bryński updated SPARK-10056:
-----------------------------------
Summary: PySpark Row - Support for row["columnName"] syntax (was: PySpark Row - Support for row["columnName"])
> PySpark Row - Support for row["columnName"] syntax
> --------------------------------------------------
>
> Key: SPARK-10056
> URL: https://issues.apache.org/jira/browse/SPARK-10056
> Project: Spark
> Issue Type: Improvement
> Reporter: Maciej Bryński
>
> Right now you can get Row element:
> - by column name: row.columnName
> - by index: row[index] (where index is integer)
> My proposition is to add following syntax:
> row["columnName"]
> It will be solution similar to DataFrame behaviour and ishould bequite easy by implementing __getitem__ method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org