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

[Python] Inferring cftime._cftime.DatetimeNoLeap raises ArrowInvalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Python
    • None

    Description

      I have data loaded as DatetimeNoLeap that is not recognized by PyArrow.

      Should this be supported by Apache Arrow?

      This happens when I call pyarrow.array(data)

      File "pyarrow/array.pxi", line 301, in pyarrow.lib.array 
      File "pyarrow/array.pxi", line 83, in pyarrow.lib._ndarray_to_array 
      File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status 
      pyarrow.lib.ArrowInvalid: Could not convert 2018-01-13 09:00:00 with type cftime._cftime.DatetimeNoLeap: did not recognize Python value type when inferring an Arrow data type
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            JaviOverflow Javier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: