File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
187187 -i " pandas.errors.ClosedFileError SA01" \
188188 -i " pandas.errors.DataError SA01" \
189189 -i " pandas.errors.DuplicateLabelError SA01" \
190- -i " pandas.errors.EmptyDataError SA01" \
191190 -i " pandas.errors.IntCastingNaNError SA01" \
192191 -i " pandas.errors.InvalidIndexError SA01" \
193192 -i " pandas.errors.InvalidVersion SA01" \
Original file line number Diff line number Diff line change @@ -205,6 +205,17 @@ class EmptyDataError(ValueError):
205205 """
206206 Exception raised in ``pd.read_csv`` when empty data or header is encountered.
207207
208+ This error is typically encountered when attempting to read an empty file or
209+ an invalid file where no data or headers are present.
210+
211+ See Also
212+ --------
213+ read_csv : Read a comma-separated values (CSV) file into DataFrame.
214+ errors.ParserError : Exception that is raised by an error encountered in parsing
215+ file contents.
216+ errors.DtypeWarning : Warning raised when reading different dtypes in a column
217+ from a file.
218+
208219 Examples
209220 --------
210221 >>> from io import StringIO
You can’t perform that action at this time.
0 commit comments