(any_string_dtype)
| 51 | |
| 52 | |
| 53 | def test_split_regex(any_string_dtype): |
| 54 | # GH 43563 |
| 55 | # explicit regex = True split |
| 56 | values = Series("xxxjpgzzz.jpg", dtype=any_string_dtype) |
| 57 | result = values.str.split(r"\.jpg", regex=True) |
| 58 | exp = Series([["xxxjpgzzz", ""]]) |
| 59 | tm.assert_series_equal(result, exp) |
| 60 | |
| 61 | |
| 62 | def test_split_regex_explicit(any_string_dtype): |