You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [19]: df = pd.DataFrame(np.ones((3, 2), dtype=bool), columns=['a', 'b'])
In [20]: dfOut[20]:
ab0TrueTrue1TrueTrue2TrueTrueIn [21]: table = pa.table(df)
In [23]: table.column(0)
Out[23]:
<pyarrow.lib.ChunkedArrayobjectat0x7fd08a96e090>
[
[
true,
false,
false,
]
]
The resulting table has False values while the original DataFrame had only true values.
It seems this has to do with the fact that it are multiple columns, as with a single column it converts correctly.
From pandas-dev/pandas#28090
The resulting table has False values while the original DataFrame had only true values.
It seems this has to do with the fact that it are multiple columns, as with a single column it converts correctly.
Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Joris Van den Bossche / @jorisvandenbossche
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-6325. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: