You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/03 21:15:00 UTC
[jira] [Updated] (ARROW-13897) [Python] TimestampScalar.as_py() and
DurationScalar.as_py() docs inaccurately describe return types
[ https://issues.apache.org/jira/browse/ARROW-13897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-13897:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)