Skip to content

Commit 60295b8

Browse files
committed
internal errors
1 parent b6f2337 commit 60295b8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

pandas/errors/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,10 @@ class CategoricalConversionWarning(Warning):
686686
class LossySetitemError(Exception):
687687
"""
688688
Raised when trying to do a __setitem__ on an np.ndarray that is not lossless.
689+
690+
Examples
691+
--------
692+
This is an internal error. Please do not use it.
689693
"""
690694

691695

@@ -698,6 +702,10 @@ class NoBufferPresent(Exception):
698702
class InvalidComparison(Exception):
699703
"""
700704
Exception is raised by _validate_comparison_value to indicate an invalid comparison.
705+
706+
Examples
707+
--------
708+
This is an internal error. Please do not use it.
701709
"""
702710

703711

scripts/validate_docstrings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
"Styler.template_latex",
5050
"Styler.template_string",
5151
"Styler.loader",
52+
"errors.InvalidComparison",
53+
"errors.LossySetitemError",
54+
"",
5255
}
5356
PRIVATE_CLASSES = ["NDFrame", "IndexOpsMixin"]
5457
ERROR_MSGS = {

0 commit comments

Comments
 (0)