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

[Python] Table.to_pandas converts Arrow date32[day] to pandas datetime64[ns]

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Python
    • None

    Description

      This issue was raised here:

      https://github.com/wesm/feather/issues/359

      I explored this minimally against Arrow master:

      https://gist.github.com/wesm/2ebe0ca2461d1ecfba6185777238ad1f

      While it's pretty memory-wasteful, it might be better to preserve the intent of the data type when converting to pandas data structures. It also allows the data to round trip successfully

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: