Rens Jochemsen created SPARK-37472:
--------------------------------------

             Summary: Missing functionality in spark.pandas
                 Key: SPARK-37472
                 URL: https://issues.apache.org/jira/browse/SPARK-37472
             Project: Spark
          Issue Type: New Feature
          Components: PySpark
    Affects Versions: 3.2.0
            Reporter: Rens Jochemsen


dear,

 

I am missing the functionality to include local variables in the query method.

```

seg = 'A'

psdf.query("segment == @seg")

 

``` 

 

or 

seg = ['A', 'B']

psdf.query("segment == @seg")

```

 

Furthermore I was wondering whether date-offset functionalty as 
pd.offsets.MonthEnd will be added to future versions.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to