Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SaturnFromTitan committed Dec 5, 2019
1 parent 8db3cc4 commit 67e00ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/core/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
import pandas.core.common as com

if TYPE_CHECKING:
from pandas.core.series import Series
from pandas.core.index import Index
from pandas.core.series import Series # noqa: F401
from pandas.core.index import Index # noqa: F401


def array(
Expand Down Expand Up @@ -594,13 +594,13 @@ def is_empty_data(data: Any) -> bool:

def create_series_with_explicit_dtype(
data: Any = None,
index: Optional[Union[ArrayLike, Index]] = None,
index: Optional[Union[ArrayLike, "Index"]] = None,
dtype: Optional[Dtype] = None,
name: Optional[str] = None,
copy: bool = False,
fastpath: bool = False,
dtype_if_empty: Dtype = object,
) -> Series:
) -> "Series":
"""
Helper to pass an explicit dtype when instantiating an empty Series.
Expand Down

0 comments on commit 67e00ff

Please sign in to comment.