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
187
187
-i " pandas.errors.ClosedFileError SA01" \
188
188
-i " pandas.errors.DataError SA01" \
189
189
-i " pandas.errors.DuplicateLabelError SA01" \
190
- -i " pandas.errors.EmptyDataError SA01" \
191
190
-i " pandas.errors.IntCastingNaNError SA01" \
192
191
-i " pandas.errors.InvalidIndexError SA01" \
193
192
-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