(index)
| 131 | |
| 132 | @pytest.mark.parametrize("index", [None, [0]], ids=["range_index", "other index"]) |
| 133 | def test_str_split_(index): |
| 134 | df = pd.DataFrame({"a": ["a\nb"]}, index=index) |
| 135 | ddf = from_pandas(df, npartitions=1) |
| 136 | |
| 137 | pd_a = df["a"].str.split("\n", n=1, expand=True) |
| 138 | dd_a = ddf["a"].str.split("\n", n=1, expand=True) |
| 139 | |
| 140 | assert_eq(dd_a, pd_a) |
| 141 | |
| 142 | |
| 143 | def test_str_accessor_not_available(): |
nothing calls this directly
no test coverage detected