Skip to content

Commit b62338f

Browse files
committed
add docstring to series.to_dict
1 parent ee05885 commit b62338f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
206206
-i "pandas.Series.str.wrap RT03,SA01" \
207207
-i "pandas.Series.str.zfill RT03" \
208208
-i "pandas.Series.struct.dtypes SA01" \
209-
-i "pandas.Series.to_dict SA01" \
210209
-i "pandas.Series.to_frame SA01" \
211210
-i "pandas.Series.to_markdown SA01" \
212211
-i "pandas.Series.update PR07,SA01" \

pandas/core/series.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,12 @@ def to_dict(
17131713
collections.abc.MutableMapping
17141714
Key-value representation of Series.
17151715
1716+
See Also
1717+
--------
1718+
Series.to_list: Converts Series to a list of the values.
1719+
Series.to_numpy: Converts Series to NumPy ndarray.
1720+
Series.array: ExtensionArray of the data backing this Series.
1721+
17161722
Examples
17171723
--------
17181724
>>> s = pd.Series([1, 2, 3, 4])

0 commit comments

Comments
 (0)