We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97526b commit a46e595Copy full SHA for a46e595
pandas/tests/io/test_feather.py
@@ -143,8 +143,8 @@ def test_rw_use_threads(self):
143
def test_path_pathlib(self):
144
df = pd.DataFrame(
145
1.1 * np.arange(120).reshape((30, 4)),
146
- columns=pd.Index(list("ABCD"), dtype=object),
147
- index=pd.Index([f"i-{i}" for i in range(30)], dtype=object),
+ columns=pd.Index(list("ABCD")),
+ index=pd.Index([f"i-{i}" for i in range(30)]),
148
).reset_index()
149
result = tm.round_trip_pathlib(df.to_feather, read_feather)
150
tm.assert_frame_equal(df, result)
0 commit comments