You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/09/16 09:10:00 UTC

[jira] [Resolved] (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 ]

Joris Van den Bossche resolved ARROW-13897.
-------------------------------------------
    Resolution: Fixed

Issue resolved by pull request 11081
[https://github.com/apache/arrow/pull/11081]

> [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
>          Components: Documentation, Python
>            Reporter: Tim Swast
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 20m
>  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)