You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Prakhar Sandhu (Jira)" <ji...@apache.org> on 2022/03/23 17:28:00 UTC
[jira] [Created] (SPARK-38638) AttributeError: module 'pyspark.pandas' has no attribute 'Timedelta'
Prakhar Sandhu created SPARK-38638:
--------------------------------------
Summary: AttributeError: module 'pyspark.pandas' has no attribute 'Timedelta'
Key: SPARK-38638
URL: https://issues.apache.org/jira/browse/SPARK-38638
Project: Spark
Issue Type: Bug
Components: PySpark
Affects Versions: 3.2.1
Reporter: Prakhar Sandhu
After replacing pandas library with pyspark.pandas, I tried to use the below function :
{code:java}
pd.Timedelta(days=30) {code}
But received the below error :
{code:java}
AttributeError: module 'pyspark.pandas' has no attribute 'Timedelta' {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org