Skip to content

Commit f3b038e

Browse files
committed
DOCS: fix docstring validation errors for pandas.Series.str
1 parent 224c6ff commit f3b038e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
157157
-i "pandas.Series.str.normalize RT03,SA01" \
158158
-i "pandas.Series.str.repeat SA01" \
159159
-i "pandas.Series.str.replace SA01" \
160-
-i "pandas.Series.str.wrap RT03,SA01" \
161-
-i "pandas.Series.str.zfill RT03" \
162160
-i "pandas.Series.struct.dtypes SA01" \
163161
-i "pandas.Series.to_markdown SA01" \
164162
-i "pandas.Timedelta.asm8 SA01" \

pandas/core/strings/accessor.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,6 +1828,7 @@ def zfill(self, width: int):
18281828
Returns
18291829
-------
18301830
Series/Index of objects.
1831+
A Series or Index where the strings are prepended with '0' characters.
18311832
18321833
See Also
18331834
--------
@@ -2360,6 +2361,13 @@ def wrap(
23602361
Returns
23612362
-------
23622363
Series or Index
2364+
A Series or Index where the strings are wrapped at the specified line width.
2365+
2366+
See Also
2367+
--------
2368+
Series.str.strip : Remove leading and trailing characters in Series/Index.
2369+
Series.str.lstrip : Remove leading characters in Series/Index.
2370+
Series.str.rstrip : Remove trailing characters in Series/Index.
23632371
23642372
Notes
23652373
-----

0 commit comments

Comments
 (0)