|
3 | 3 | """
|
4 | 4 |
|
5 | 5 | import copy
|
6 |
| -import warnings |
7 | 6 | import string
|
| 7 | +import warnings |
8 | 8 |
|
9 | 9 | import numpy as np
|
10 |
| -from pandas.compat import range, lzip, zip, map, filter |
11 |
| -import pandas.compat as compat |
12 | 10 |
|
13 |
| -from pandas import (Categorical, DataFrame, |
14 |
| - Index, MultiIndex, Timedelta, Series) |
15 |
| -from pandas.core.arrays.categorical import _recode_for_categories |
16 |
| -from pandas.core.frame import _merge_doc |
17 |
| -from pandas.core.dtypes.common import ( |
18 |
| - is_datetime64tz_dtype, |
19 |
| - is_datetime64_dtype, |
20 |
| - needs_i8_conversion, |
21 |
| - is_int64_dtype, |
22 |
| - is_array_like, |
23 |
| - is_categorical_dtype, |
24 |
| - is_integer_dtype, |
25 |
| - is_float_dtype, |
26 |
| - is_number, |
27 |
| - is_numeric_dtype, |
28 |
| - is_integer, |
29 |
| - is_int_or_datetime_dtype, |
30 |
| - is_dtype_equal, |
31 |
| - is_bool, |
32 |
| - is_bool_dtype, |
33 |
| - is_list_like, |
34 |
| - is_datetimelike, |
35 |
| - ensure_int64, |
36 |
| - ensure_float64, |
37 |
| - ensure_object) |
38 |
| -from pandas.core.dtypes.missing import na_value_for_dtype, isnull |
39 |
| -from pandas.core.internals import (items_overlap_with_suffix, |
40 |
| - concatenate_block_managers) |
| 11 | +from pandas._libs import hashtable as libhashtable, join as libjoin, lib |
| 12 | +import pandas.compat as compat |
| 13 | +from pandas.compat import filter, lzip, map, range, zip |
| 14 | +from pandas.errors import MergeError |
41 | 15 | from pandas.util._decorators import Appender, Substitution
|
42 | 16 |
|
43 |
| -from pandas.core.sorting import is_int64_overflow_possible |
| 17 | +from pandas.core.dtypes.common import ( |
| 18 | + ensure_float64, ensure_int64, ensure_object, is_array_like, is_bool, |
| 19 | + is_bool_dtype, is_categorical_dtype, is_datetime64_dtype, |
| 20 | + is_datetime64tz_dtype, is_datetimelike, is_dtype_equal, is_float_dtype, |
| 21 | + is_int64_dtype, is_int_or_datetime_dtype, is_integer, is_integer_dtype, |
| 22 | + is_list_like, is_number, is_numeric_dtype, needs_i8_conversion) |
| 23 | +from pandas.core.dtypes.missing import isnull, na_value_for_dtype |
| 24 | + |
| 25 | +from pandas import Categorical, DataFrame, Index, MultiIndex, Series, Timedelta |
44 | 26 | import pandas.core.algorithms as algos
|
45 |
| -import pandas.core.sorting as sorting |
| 27 | +from pandas.core.arrays.categorical import _recode_for_categories |
46 | 28 | import pandas.core.common as com
|
47 |
| -from pandas._libs import hashtable as libhashtable, join as libjoin, lib |
48 |
| -from pandas.errors import MergeError |
| 29 | +from pandas.core.frame import _merge_doc |
| 30 | +from pandas.core.internals import ( |
| 31 | + concatenate_block_managers, items_overlap_with_suffix) |
| 32 | +import pandas.core.sorting as sorting |
| 33 | +from pandas.core.sorting import is_int64_overflow_possible |
49 | 34 |
|
50 | 35 |
|
51 | 36 | @Substitution('\nleft : DataFrame')
|
|
0 commit comments