Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.12.1
Description
Starting with 0.12, the order of the columns in Table.from_pandas is no longer identical to the order of the colums given in the columns argument. This used to be the case in previous versions.
0.12:
In [1]: pyarrow.Table.from_pandas(pd.DataFrame(dict(a=[1],b=[2])), columns=['b', 'a']) Out[1]: pyarrow.Table a: int64 b: int64
0.11:
In [1]: pyarrow.Table.from_pandas(pd.DataFrame(dict(a=[1],b=[2])), columns=['b', 'a']) Out[1]: pyarrow.Table b: int64 a: int64
Attachments
Issue Links
- links to