Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13897

[Python] TimestampScalar.as_py() and DurationScalar.as_py() docs inaccurately describe return types

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tswast Tim Swast
              tswast Tim Swast
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h