Skip to content

Commit

Permalink
Fix for pandas 2.0 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeleobas committed May 3, 2023
1 parent e86b5b5 commit 1816d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ def test_upload_pandas_categorical_ipc(self, con):
df_ipc = con.select_ipc("select * from test_categorical")
assert df_ipc.shape == (16, 2)

res = df.append([df, df, df]).reset_index(drop=True)
res = pd.concat([df, df, df, df]).reset_index(drop=True)
res["A"] = res["A"].astype('category')
res["B"] = res["B"].astype('category')
assert pd.DataFrame.equals(df_ipc, res)
Expand Down

0 comments on commit 1816d10

Please sign in to comment.