Chuck Connell created SPARK-37186:
-------------------------------------

             Summary: pyspark.pandas should support tseries.offsets
                 Key: SPARK-37186
                 URL: https://issues.apache.org/jira/browse/SPARK-37186
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 3.2.0
            Reporter: Chuck Connell


In regular pandas you can use pandas.offsets to create a time delta. This 
allows a line like
{quote}this_period_start = OVERALL_START_DATE + pd.offsets.Day(NN)
{quote}
But this does not work in pyspark.pandas.

There are good workarounds, such as datetime.timedelta(days=NN), but pandas 
programmers would like to move code to pyspark without changing it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to