|
26 | 26 |
|
27 | 27 |
|
28 | 28 | import operator |
29 | | -from collections import defaultdict, namedtuple |
| 29 | +from collections import namedtuple |
30 | 30 | import numpy as np |
31 | 31 | import pandas as pd |
32 | 32 | import warnings |
|
40 | 40 | build_definitions, find_build_sequence, |
41 | 41 | GuardException, compute_cfg_from_blocks) |
42 | 42 | from numba.inline_closurecall import inline_closure_call |
43 | | -from numba.typing.templates import Signature, bound_function, signature |
44 | | -from numba.typing.arraydecl import ArrayAttribute |
45 | | -from numba.extending import overload |
46 | | -from numba.typing.templates import infer_global, AbstractTemplate, signature |
47 | 43 | from numba.compiler_machinery import FunctionPass, register_pass |
48 | 44 | import sdc |
49 | 45 | from sdc import hiframes |
50 | 46 | from sdc.utils import (debug_prints, inline_new_blocks, ReplaceFunc, |
51 | 47 | is_whole_slice, is_array, is_assign, sanitize_varname, update_globals) |
52 | | -from sdc.str_ext import string_type |
53 | 48 | from sdc.str_arr_ext import (string_array_type, StringArrayType, |
54 | 49 | is_str_arr_typ, pre_alloc_string_array) |
55 | | -from sdc.hiframes.rolling import get_rolling_setup_args |
56 | 50 | from sdc.hiframes.pd_dataframe_ext import (DataFrameType, DataFrameLocType, |
57 | 51 | DataFrameILocType, DataFrameIatType) |
58 | | -from sdc.hiframes.pd_series_ext import SeriesType, is_series_type |
| 52 | +from sdc.hiframes.pd_series_ext import SeriesType |
59 | 53 | import sdc.hiframes.pd_groupby_ext |
60 | 54 | from sdc.hiframes.pd_groupby_ext import DataFrameGroupByType |
61 | 55 | import sdc.hiframes.pd_rolling_ext |
|
0 commit comments