Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 9e611a3

Browse files
committed
Fix #82
1 parent b684bdb commit 9e611a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root_pandas/readwrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def convert_to_dataframe(array, start_index=None):
317317
# Filter to remove __index__ columns
318318
columns = [c for c in array.dtype.names if c in df.columns]
319319
assert len(columns) == len(df.columns), (columns, df.columns)
320-
df = df.reindex_axis(columns, axis=1, copy=False)
320+
df = df.reindex(columns, axis=1, copy=False)
321321

322322
# Convert categorical columns back to categories
323323
for c in df.columns:

0 commit comments

Comments
 (0)