(df: pd.DataFrame)
| 159 | |
| 160 | def test_col_order(tmp_path: Path): |
| 161 | def _test_order(df: pd.DataFrame): |
| 162 | # process and compare |
| 163 | df1 = process_df(df, copy=True) |
| 164 | assert list(df.columns) == list(df1.columns) |
| 165 | |
| 166 | # convert to arrow and back |
| 167 | df2 = save_load_arrow(tmp_path, df) |
| 168 | assert list(df.columns) == list(df2.columns) |
| 169 | |
| 170 | data = pd.DataFrame( |
| 171 | { |
no test coverage detected