Florian Jetter created ARROW-2603:

             Summary: [Python] from pandas raises ArrowInvalid for date(time) 
                 Key: ARROW-2603
                 URL: https://issues.apache.org/jira/browse/ARROW-2603
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.9.0
            Reporter: Florian Jetter
            Assignee: Florian Jetter

When converting a pandas dataframe holding subclasses of date/datetime objects, 
arrow raises an {{ArrowInvalid}} exception
import pandas as pd
import pyarrow as pa
import datetime


date_array = [MyDate(2000, 1, 1)]
df = pd.DataFrame({"date": pd.Series(date_array, dtype=object)})

table = pa.Table.from_pandas(df){code}

This message was sent by Atlassian JIRA

Reply via email to