Skip to content

Commit e62fcb1

Browse files
DOC: fix SA01 for pandas.errors.ChainedAssignmentError (#60390)
1 parent f105eef commit e62fcb1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
109109
-i "pandas.core.resample.Resampler.std SA01" \
110110
-i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
111111
-i "pandas.core.resample.Resampler.var SA01" \
112-
-i "pandas.errors.ChainedAssignmentError SA01" \
113112
-i "pandas.errors.DuplicateLabelError SA01" \
114113
-i "pandas.errors.IntCastingNaNError SA01" \
115114
-i "pandas.errors.InvalidIndexError SA01" \

pandas/errors/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,11 @@ class ChainedAssignmentError(Warning):
487487
For more information on Copy-on-Write,
488488
see :ref:`the user guide<copy_on_write>`.
489489
490+
See Also
491+
--------
492+
options.mode.copy_on_write : Global setting for enabling or disabling
493+
Copy-on-Write behavior.
494+
490495
Examples
491496
--------
492497
>>> pd.options.mode.copy_on_write = True

0 commit comments

Comments
 (0)