File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
173
173
-i " pandas.errors.ClosedFileError SA01" \
174
174
-i " pandas.errors.DataError SA01" \
175
175
-i " pandas.errors.DuplicateLabelError SA01" \
176
- -i " pandas.errors.EmptyDataError SA01" \
177
176
-i " pandas.errors.IntCastingNaNError SA01" \
178
177
-i " pandas.errors.InvalidIndexError SA01" \
179
178
-i " pandas.errors.InvalidVersion SA01" \
Original file line number Diff line number Diff line change @@ -205,6 +205,17 @@ class EmptyDataError(ValueError):
205
205
"""
206
206
Exception raised in ``pd.read_csv`` when empty data or header is encountered.
207
207
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
+
208
219
Examples
209
220
--------
210
221
>>> from io import StringIO
You can’t perform that action at this time.
0 commit comments