|
5 | 5 | PY3, PY36)
|
6 | 6 | from pandas._libs import algos, lib
|
7 | 7 | from pandas._libs.tslibs import conversion
|
8 |
| -from .dtypes import (CategoricalDtype, CategoricalDtypeType, |
9 |
| - DatetimeTZDtype, DatetimeTZDtypeType, |
10 |
| - PeriodDtype, PeriodDtypeType, |
11 |
| - IntervalDtype, IntervalDtypeType, |
12 |
| - ExtensionDtype, PandasExtensionDtype) |
13 |
| -from .generic import (ABCCategorical, ABCPeriodIndex, |
14 |
| - ABCDatetimeIndex, ABCSeries, |
15 |
| - ABCSparseArray, ABCSparseSeries, ABCCategoricalIndex, |
16 |
| - ABCIndexClass, ABCDateOffset) |
17 |
| -from .inference import is_string_like, is_list_like |
18 |
| -from .inference import * # noqa |
| 8 | +from pandas.core.dtypes.dtypes import ( |
| 9 | + CategoricalDtype, CategoricalDtypeType, DatetimeTZDtype, |
| 10 | + DatetimeTZDtypeType, PeriodDtype, PeriodDtypeType, IntervalDtype, |
| 11 | + IntervalDtypeType, ExtensionDtype, PandasExtensionDtype) |
| 12 | +from pandas.core.dtypes.generic import ( |
| 13 | + ABCCategorical, ABCPeriodIndex, ABCDatetimeIndex, ABCSeries, |
| 14 | + ABCSparseArray, ABCSparseSeries, ABCCategoricalIndex, ABCIndexClass, |
| 15 | + ABCDateOffset) |
| 16 | +from pandas.core.dtypes.inference import ( # noqa:F401 |
| 17 | + is_bool, is_integer, is_hashable, is_iterator, is_float, |
| 18 | + is_dict_like, is_scalar, is_string_like, is_list_like, is_number, |
| 19 | + is_file_like, is_re, is_re_compilable, is_sequence, is_nested_list_like, |
| 20 | + is_named_tuple, is_array_like, is_decimal, is_complex, is_interval) |
19 | 21 |
|
20 | 22 |
|
21 | 23 | _POSSIBLY_CAST_DTYPES = set([np.dtype(t).name
|
|
0 commit comments