We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e29388 commit f094db7Copy full SHA for f094db7
sdks/python/apache_beam/dataframe/pandas_doctests_test.py
@@ -605,6 +605,7 @@ def test_string_tests(self):
605
# For split and rsplit, if expand=True, then the series
606
# must be of CategoricalDtype, which pandas doesn't convert to
607
f'{module_name}.StringMethods.rsplit': [
608
+ 's.str.split(r"\\+|=", expand=True)', # for pandas<1.4
609
's.str.split(expand=True)',
610
's.str.rsplit("/", n=1, expand=True)',
611
's.str.split(r"and|plus", expand=True)',
@@ -615,6 +616,7 @@ def test_string_tests(self):
615
616
's.str.split(r"\\.jpg", regex=False, expand=True)'
617
],
618
f'{module_name}.StringMethods.split': [
619
620
621
622
0 commit comments