Skip to content

Commit e3e198f

Browse files
DOC: fix SA01 for pandas.errors.PossiblePrecisionLoss (#60061)
1 parent c5bf937 commit e3e198f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
140140
-i "pandas.errors.OutOfBoundsTimedelta SA01" \
141141
-i "pandas.errors.PerformanceWarning SA01" \
142142
-i "pandas.errors.PossibleDataLossError SA01" \
143-
-i "pandas.errors.PossiblePrecisionLoss SA01" \
144143
-i "pandas.errors.UndefinedVariableError PR01,SA01" \
145144
-i "pandas.errors.UnsortedIndexError SA01" \
146145
-i "pandas.errors.UnsupportedFunctionCall SA01" \

pandas/errors/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,10 @@ class PossiblePrecisionLoss(Warning):
691691
When the column value is outside or equal to the int64 value the column is
692692
converted to a float64 dtype.
693693
694+
See Also
695+
--------
696+
DataFrame.to_stata : Export DataFrame object to Stata dta format.
697+
694698
Examples
695699
--------
696700
>>> df = pd.DataFrame({"s": pd.Series([1, 2**53], dtype=np.int64)})

0 commit comments

Comments
 (0)