You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/03/24 02:28:00 UTC

[jira] [Commented] (SPARK-38636) AttributeError: module 'pyspark.pandas' has no attribute 'Timestamp'

    [ https://issues.apache.org/jira/browse/SPARK-38636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511556#comment-17511556 ] 

Hyukjin Kwon commented on SPARK-38636:
--------------------------------------

Ditto w/ Timedelta. Pandas API on Spark does not support a Scalar value. Users should use pandas' Timestamp

> AttributeError: module 'pyspark.pandas' has no attribute 'Timestamp'
> --------------------------------------------------------------------
>
>                 Key: SPARK-38636
>                 URL: https://issues.apache.org/jira/browse/SPARK-38636
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.2.1
>            Reporter: Prakhar Sandhu
>            Priority: Major
>
> I am trying to replace pandas library with pyspark.pandas. 
> Tried something like below - 
> {code:java}
> List[pd.Timestamp] {code}
>  But it does not work and instead thrown the below error
> {code:java}
> AttributeError: module 'pyspark.pandas' has no attribute 'Timestamp'{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