[ 
https://issues.apache.org/jira/browse/SPARK-9014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-9014:
-----------------------------------

    Assignee:     (was: Apache Spark)

> Allow Python spark API to use built-in exponential operator
> -----------------------------------------------------------
>
>                 Key: SPARK-9014
>                 URL: https://issues.apache.org/jira/browse/SPARK-9014
>             Project: Spark
>          Issue Type: Wish
>          Components: PySpark
>    Affects Versions: 1.4.0
>            Reporter: Jon Speiser
>            Priority: Minor
>
> It would be nice if instead of saying:
> import pyspark.sql.functions as funcs
> df = df.withColumn("standarderror", funcs.sqrt(df["variance"]))
> ...if I could simply say:
> df = df.withColumn("standarderror", df["variance"] ** 0.5)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to