You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Tim Swast (Jira)" <ji...@apache.org> on 2021/09/03 21:13:00 UTC

[jira] [Created] (ARROW-13897) [Python] TimestampScalar.as_py() and DurationScalar.as_py() docs inaccurately describe return types

Tim Swast created ARROW-13897:
---------------------------------

             Summary: [Python] TimestampScalar.as_py() and DurationScalar.as_py() docs inaccurately describe return types
                 Key: ARROW-13897
                 URL: https://issues.apache.org/jira/browse/ARROW-13897
             Project: Apache Arrow
          Issue Type: Task
            Reporter: Tim Swast


If I'm reading the code correctly, Pandas data types are only used if units are nanoseconds. Also, TimestampScalar returns a Python datetime.datetime, not datetime.timedelta.



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