BUG: .str.split() method of pandas.Series behaves strangely #44157
Labels
API - Consistency
Internal Consistency of API/Behavior
Bug
Duplicate Report
Duplicate issue or pull request
Strings
String extension data type and string data
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
The .str.split() method of Pandas Series does not split items as expected.
Expected Behavior
The .str method of Pandas Series does not split items as expected.
s = "bae systems (international) ltd"
s.split('a. s.')
# should return
['bae systems (international) ltd']
Installed Versions
pandas 1.3.0
The text was updated successfully, but these errors were encountered: