File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -21,36 +21,34 @@ class UnsupportedFunctionCall(ValueError):
2121
2222
2323class UnsortedIndexError (KeyError ):
24- """ Error raised when attempting to get a slice of a MultiIndex
24+ """
25+ Error raised when attempting to get a slice of a MultiIndex
2526 and the index has not been lexsorted. Subclass of `KeyError`.
2627
2728 .. versionadded:: 0.20.0
2829
2930 """
30- pass
3131
3232
3333class ParserError (ValueError ):
3434 """
3535 Exception that is thrown by an error is encountered in `pd.read_csv`
3636 """
37- pass
3837
3938
4039class DtypeWarning (Warning ):
4140 """
42- Warning that is raised whenever `pd.read_csv` encounters non-
41+ Warning that is raised for a dtype incompatiblity. This is
42+ can happen whenever `pd.read_csv` encounters non-
4343 uniform dtypes in a column(s) of a given CSV file
4444 """
45- pass
4645
4746
4847class EmptyDataError (ValueError ):
4948 """
5049 Exception that is thrown in `pd.read_csv` (by both the C and
5150 Python engines) when empty data or header is encountered
5251 """
53- pass
5452
5553
5654class ParserWarning (Warning ):
@@ -60,4 +58,3 @@ class ParserWarning(Warning):
6058 one specified by the user due to lack of support or functionality for
6159 parsing particular attributes of a CSV file with the requsted engine
6260 """
63- pass
Original file line number Diff line number Diff line change 33import warnings
44warnings .warn ("The pandas.tslib module is deprecated and will be "
55 "removed in a future version. Please import from "
6- "the pandas or pandas.api.exceptions instead" , FutureWarning , stacklevel = 2 )
6+ "the pandas or pandas.errors instead" , FutureWarning , stacklevel = 2 )
77from pandas ._libs .tslib import (Timestamp , Timedelta ,
88 NaT , OutOfBoundsDatetime )
You can’t perform that action at this time.
0 commit comments