Skip to content

Commit 110ff7a

Browse files
committed
clean up some imports
1 parent 5010d5c commit 110ff7a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
is_re_compilable)
2727
from pandas.core.dtypes.cast import maybe_promote, maybe_upcast_putmask
2828
from pandas.core.dtypes.missing import isnull, notnull
29-
from pandas.core.dtypes.generic import ABCSeries, ABCPanel
29+
from pandas.core.dtypes.generic import ABCSeries, ABCPanel, ABCDataFrame
3030

3131
from pandas.core.common import (_values_from_object,
3232
_maybe_box_datetimelike,

pandas/core/missing.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
from pandas.core.dtypes.cast import infer_dtype_from_array
2323
from pandas.core.dtypes.missing import isnull, is_valid_fill_value
24+
from pandas.core.dtypes.generic import ABCSeries
2425

2526

2627
def mask_missing(arr, values_to_mask):

pandas/tests/dtypes/test_missing.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3+
from warnings import catch_warnings
34
import numpy as np
45
from datetime import datetime, timedelta
56
from pandas.util import testing as tm
@@ -14,7 +15,7 @@
1415
from pandas.core.dtypes.dtypes import DatetimeTZDtype
1516
from pandas.core.dtypes.missing import (
1617
array_equivalent, isnull, notnull,
17-
na_value_for_dtype)
18+
na_value_for_dtype, is_valid_fill_value)
1819

1920

2021
def test_notnull():

0 commit comments

Comments
 (0)