MCPcopy
hub / github.com/pandas-dev/pandas / test_passthrough_keywords

Method test_passthrough_keywords

pandas/tests/io/test_feather.py:151–157  ·  view source on GitHub ↗
(self, temp_file)

Source from the content-addressed store, hash-verified

149 tm.assert_frame_equal(df, result)
150
151 def test_passthrough_keywords(self, temp_file):
152 df = pd.DataFrame(
153 1.1 * np.arange(120).reshape((30, 4)),
154 columns=pd.Index(list("ABCD")),
155 index=pd.Index([f"i-{i}" for i in range(30)]),
156 ).reset_index()
157 self.check_round_trip(df, temp_file, write_kwargs={"version": 1})
158
159 @pytest.mark.network
160 @pytest.mark.single_cpu

Callers

nothing calls this directly

Calls 3

check_round_tripMethod · 0.95
reset_indexMethod · 0.45
reshapeMethod · 0.45

Tested by

no test coverage detected