[
https://issues.apache.org/jira/browse/SPARK-37186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-37186:
---------------------------------
Parent: SPARK-37197
Issue Type: Sub-task (was: Improvement)
> pyspark.pandas should support tseries.offsets
> ---------------------------------------------
>
> Key: SPARK-37186
> URL: https://issues.apache.org/jira/browse/SPARK-37186
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Chuck Connell
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]