Skip to content

DOC: Removed InvalidComparison and LossySetItemError from docs #54216

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 9 commits into from
Jul 25, 2023
8 changes: 4 additions & 4 deletions pandas/errors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,9 @@ class LossySetitemError(Exception):
"""
Raised when trying to do a __setitem__ on an np.ndarray that is not lossless.

Examples
Notes
--------
This is an internal error. Please do not use it.
This is an internal error.
"""


Expand All @@ -703,9 +703,9 @@ class InvalidComparison(Exception):
"""
Exception is raised by _validate_comparison_value to indicate an invalid comparison.

Examples
Notes
--------
This is an internal error. Please do not use it.
This is an internal error.
"""


Expand Down
1 change: 0 additions & 1 deletion scripts/validate_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"Styler.loader",
"errors.InvalidComparison",
"errors.LossySetitemError",
"",
}
PRIVATE_CLASSES = ["NDFrame", "IndexOpsMixin"]
ERROR_MSGS = {
Expand Down