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

Python: Table with null timestamp becomes float in pandas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1.0
    • 0.2.0
    • Python
    • None

    Description

      I'm testing round-trip of pandas DataFrame to arrow Table and back.

      Converting a pandas DataFrame with pd.Timestamp columns and NaT entries to a Table seems to work fine (null count and data type of the column match expectations). However, converting the Table back to a DataFrame represents the column as float64, not as pandas.Timestamp/numpy.datetime64[ns] as expected.

      Attachments

        Activity

          People

            uwe Uwe Korn
            jott Jochen Ott
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: