(any_string_dtype)
| 366 | |
| 367 | |
| 368 | def test_split_join_roundtrip(any_string_dtype): |
| 369 | ser = Series(["a_b_c", "c_d_e", np.nan, "f_g_h"], dtype=any_string_dtype) |
| 370 | result = ser.str.split("_").str.join("_") |
| 371 | expected = ser.astype(object) |
| 372 | tm.assert_series_equal(result, expected) |
| 373 | |
| 374 | |
| 375 | def test_split_join_roundtrip_mixed_object(): |