diff --git a/asv_bench/benchmarks/attrs_caching.py b/asv_bench/benchmarks/attrs_caching.py index d061755208c9e..b85a2018a1c45 100644 --- a/asv_bench/benchmarks/attrs_caching.py +++ b/asv_bench/benchmarks/attrs_caching.py @@ -1,5 +1,7 @@ import numpy as np + from pandas import DataFrame + try: from pandas.util import cache_readonly except ImportError: diff --git a/asv_bench/benchmarks/binary_ops.py b/asv_bench/benchmarks/binary_ops.py index 22b8ed80f3d07..0f7909bb6d734 100644 --- a/asv_bench/benchmarks/binary_ops.py +++ b/asv_bench/benchmarks/binary_ops.py @@ -1,6 +1,8 @@ import numpy as np + from pandas import DataFrame, Series, date_range from pandas.core.algorithms import checked_add_with_arr + try: import pandas.core.computation.expressions as expr except ImportError: diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py index 4b5b2848f7e0f..c6f1ec4706e5c 100644 --- a/asv_bench/benchmarks/categoricals.py +++ b/asv_bench/benchmarks/categoricals.py @@ -1,8 +1,10 @@ import warnings import numpy as np + import pandas as pd import pandas.util.testing as tm + try: from pandas.api.types import union_categoricals except ImportError: diff --git a/asv_bench/benchmarks/ctors.py b/asv_bench/benchmarks/ctors.py index 5715c4fb2d0d4..a68fdb12f8a38 100644 --- a/asv_bench/benchmarks/ctors.py +++ b/asv_bench/benchmarks/ctors.py @@ -1,6 +1,7 @@ import numpy as np + +from pandas import DatetimeIndex, Index, MultiIndex, Series, Timestamp import pandas.util.testing as tm -from pandas import Series, Index, DatetimeIndex, Timestamp, MultiIndex def no_change(arr): diff --git a/asv_bench/benchmarks/eval.py b/asv_bench/benchmarks/eval.py index 68df38cd50742..82b0625961a80 100644 --- a/asv_bench/benchmarks/eval.py +++ b/asv_bench/benchmarks/eval.py @@ -1,5 +1,7 @@ import numpy as np + import pandas as pd + try: import pandas.core.computation.expressions as expr except ImportError: diff --git a/setup.cfg b/setup.cfg index 84b8f69a83f16..b3881f8c56bc4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -115,11 +115,7 @@ force_sort_within_sections=True skip= pandas/core/api.py, pandas/core/frame.py, - asv_bench/benchmarks/attrs_caching.py, - asv_bench/benchmarks/binary_ops.py, - asv_bench/benchmarks/categoricals.py, - asv_bench/benchmarks/ctors.py, - asv_bench/benchmarks/eval.py, + asv_bench/benchmarks/dtypes.py, asv_bench/benchmarks/frame_ctor.py, asv_bench/benchmarks/frame_methods.py, asv_bench/benchmarks/gil.py, @@ -150,7 +146,6 @@ skip= asv_bench/benchmarks/timeseries.py asv_bench/benchmarks/pandas_vb_common.py asv_bench/benchmarks/offset.py - asv_bench/benchmarks/dtypes.py asv_bench/benchmarks/strings.py asv_bench/benchmarks/period.py pandas/__init__.py