()
| 3860 | |
| 3861 | |
| 3862 | def test_getitem_string_subclass(): |
| 3863 | df = pd.DataFrame({"column_1": list(range(10))}) |
| 3864 | ddf = dd.from_pandas(df, npartitions=3) |
| 3865 | |
| 3866 | class string_subclass(str): |
| 3867 | pass |
| 3868 | |
| 3869 | column_1 = string_subclass("column_1") |
| 3870 | |
| 3871 | assert_eq(df[column_1], ddf[column_1]) |
| 3872 | |
| 3873 | |
| 3874 | @pytest.mark.parametrize("col_type", [list, np.array, pd.Series, pd.Index]) |
nothing calls this directly
no test coverage detected