diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 1974c98a1d1ff..bdf834ac50d03 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -146,7 +146,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.errors.OutOfBoundsTimedelta SA01" \ -i "pandas.errors.PerformanceWarning SA01" \ -i "pandas.errors.PossibleDataLossError SA01" \ - -i "pandas.errors.PossiblePrecisionLoss SA01" \ -i "pandas.errors.UndefinedVariableError PR01,SA01" \ -i "pandas.errors.UnsortedIndexError SA01" \ -i "pandas.errors.UnsupportedFunctionCall SA01" \ diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index efc032b0b559e..b6df34e33ecce 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -691,6 +691,10 @@ class PossiblePrecisionLoss(Warning): When the column value is outside or equal to the int64 value the column is converted to a float64 dtype. + See Also + -------- + DataFrame.to_stata : Export DataFrame object to Stata dta format. + Examples -------- >>> df = pd.DataFrame({"s": pd.Series([1, 2**53], dtype=np.int64)})