Re: pyarrow data type casting problem when safe=True

2019-01-14 Thread Krisztián Szűcs
Verified, issue: https://issues.apache.org/jira/browse/ARROW-4258 On Mon, Jan 14, 2019 at 12:31 AM Wes McKinney wrote: > This seems like a bug to me; I would not expect this to fail. It's too > bad it didn't get fixed in time for 0.12 > > On Thu, Jan 10, 2019 at 4:20 PM Bryan Cutler wrote: > >

Re: pyarrow data type casting problem when safe=True

2019-01-13 Thread Wes McKinney
This seems like a bug to me; I would not expect this to fail. It's too bad it didn't get fixed in time for 0.12 On Thu, Jan 10, 2019 at 4:20 PM Bryan Cutler wrote: > > Hi All, > > I have a question about using pyarrow.Array.from_pandas with the safe flag > set to True. When the Pandas data conta

pyarrow data type casting problem when safe=True

2019-01-10 Thread Bryan Cutler
Hi All, I have a question about using pyarrow.Array.from_pandas with the safe flag set to True. When the Pandas data contains integers and NULL values, it will get changed to a floating point dtype and then if the type is casted back to an integer in Arrow, it will raise an error "ArrowInvalid: F