Skip to content

DOC: add See Also section to series.to_dict #59269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Series.str.wrap RT03,SA01" \
-i "pandas.Series.str.zfill RT03" \
-i "pandas.Series.struct.dtypes SA01" \
-i "pandas.Series.to_dict SA01" \
-i "pandas.Series.to_markdown SA01" \
-i "pandas.Series.update PR07,SA01" \
-i "pandas.Timedelta.asm8 SA01" \
Expand Down
6 changes: 6 additions & 0 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,12 @@ def to_dict(
collections.abc.MutableMapping
Key-value representation of Series.

See Also
--------
Series.to_list: Converts Series to a list of the values.
Series.to_numpy: Converts Series to NumPy ndarray.
Series.array: ExtensionArray of the data backing this Series.

Examples
--------
>>> s = pd.Series([1, 2, 3, 4])
Expand Down