|
5 | 5 | """
|
6 | 6 |
|
7 | 7 | from __future__ import print_function
|
8 |
| -# pylint: disable=W0141 |
9 | 8 |
|
10 | 9 | from functools import partial
|
11 | 10 |
|
12 | 11 | import numpy as np
|
13 | 12 |
|
14 | 13 | from pandas._libs import lib
|
15 |
| -from pandas._libs.tslibs import NaT, iNaT, Timestamp, Timedelta |
16 | 14 | from pandas._libs.tslib import format_array_from_datetime
|
| 15 | +from pandas._libs.tslibs import NaT, Timedelta, Timestamp, iNaT |
| 16 | +from pandas.compat import StringIO, lzip, map, u, zip |
17 | 17 |
|
18 |
| -from pandas import compat |
19 |
| -from pandas.compat import StringIO, lzip, map, zip, u |
20 |
| - |
21 |
| -from pandas.core.dtypes.missing import isna, notna |
22 | 18 | from pandas.core.dtypes.common import (
|
23 |
| - is_categorical_dtype, |
24 |
| - is_float_dtype, |
25 |
| - is_period_arraylike, |
26 |
| - is_integer_dtype, |
27 |
| - is_interval_dtype, |
28 |
| - is_datetimetz, |
29 |
| - is_integer, |
30 |
| - is_float, |
31 |
| - is_scalar, |
32 |
| - is_numeric_dtype, |
33 |
| - is_datetime64_dtype, |
34 |
| - is_timedelta64_dtype, |
35 |
| - is_list_like) |
36 |
| -from pandas.core.dtypes.generic import ABCSparseArray, ABCMultiIndex |
| 19 | + is_categorical_dtype, is_datetime64_dtype, is_datetimetz, is_float, |
| 20 | + is_float_dtype, is_integer, is_integer_dtype, is_interval_dtype, |
| 21 | + is_list_like, is_numeric_dtype, is_period_arraylike, is_scalar, |
| 22 | + is_timedelta64_dtype) |
| 23 | +from pandas.core.dtypes.generic import ABCMultiIndex, ABCSparseArray |
| 24 | +from pandas.core.dtypes.missing import isna, notna |
| 25 | + |
| 26 | +from pandas import compat |
37 | 27 | from pandas.core.base import PandasObject
|
38 | 28 | import pandas.core.common as com
|
39 |
| -from pandas.core.index import Index, ensure_index |
40 | 29 | from pandas.core.config import get_option, set_option
|
| 30 | +from pandas.core.index import Index, ensure_index |
41 | 31 | from pandas.core.indexes.datetimes import DatetimeIndex
|
42 | 32 | from pandas.core.indexes.period import PeriodIndex
|
43 | 33 |
|
44 |
| -from pandas.io.formats.terminal import get_terminal_size |
45 | 34 | from pandas.io.common import _expand_user, _stringify_path
|
46 | 35 | from pandas.io.formats.printing import adjoin, justify, pprint_thing
|
| 36 | +from pandas.io.formats.terminal import get_terminal_size |
| 37 | + |
| 38 | +# pylint: disable=W0141 |
47 | 39 |
|
48 | 40 |
|
49 | 41 | common_docstring = """
|
|
0 commit comments