Skip to content

Commit c4afef8

Browse files
Backport PR #42017: DOC: Fix wrongly associated docstring of Series.str.isspace (#42033)
Co-authored-by: Felix Divo <[email protected]>
1 parent 4e8351e commit c4afef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings/accessor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@ def casefold(self):
30053005
"isdigit", docstring=_shared_docs["ismethods"] % _doc_args["isdigit"]
30063006
)
30073007
isspace = _map_and_wrap(
3008-
"isspace", docstring=_shared_docs["ismethods"] % _doc_args["isalnum"]
3008+
"isspace", docstring=_shared_docs["ismethods"] % _doc_args["isspace"]
30093009
)
30103010
islower = _map_and_wrap(
30113011
"islower", docstring=_shared_docs["ismethods"] % _doc_args["islower"]

0 commit comments

Comments
 (0)