Henrikh Kantuni created ARROW-14087:
---------------------------------------

             Summary: Cannot convert DataFrame with `numpy.dtype` cells
                 Key: ARROW-14087
                 URL: https://issues.apache.org/jira/browse/ARROW-14087
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
         Environment: macOS
Python 3.8
            Reporter: Henrikh Kantuni


{code:java}
import pandas as pd
import pyarrow as pa

df1 = pd.DataFrame(["foo", "bar"])
df2 = pd.DataFrame(df1.dtypes)

t = pa.Table.from_pandas(df2)
{code}
raises an {color:#FF0000}ArrowInvalid{color} exception with 
{color:#FF0000}Could not convert dtype...{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to