Skip to content

DOC: remove regex argument from .str.rsplit docs #46488

Closed
@MarcoGorelli

Description

@MarcoGorelli

Is your feature request related to a problem?

.str.split has a regex argument, which was added in #44185

Should .str.rsplit also take it?

EDIT

re.Pattern has split, but not rsplit, so this isn't straightforward without some crazy workaround. Let's just separate out the split and rsplit docs such that the rsplit ones don't have the regex argument

Currently, the argument is documented, but can't be passed https://pandas.pydata.org/docs/reference/api/pandas.Series.str.rsplit.html?highlight=rsplit#pandas.Series.str.rsplit

Metadata

Metadata

Assignees

Labels

API - ConsistencyInternal Consistency of API/BehaviorEnhancementStringsString extension data type and string data

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions