Skip to content

Commit 1da1f08

Browse files
fix imports
1 parent 8db3cc4 commit 1da1f08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/construction.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
import pandas.core.common as com
4949

5050
if TYPE_CHECKING:
51-
from pandas.core.series import Series
52-
from pandas.core.index import Index
51+
from pandas.core.series import Series # noqa: F401
52+
from pandas.core.index import Index # noqa: F401
5353

5454

5555
def array(
@@ -594,13 +594,13 @@ def is_empty_data(data: Any) -> bool:
594594

595595
def create_series_with_explicit_dtype(
596596
data: Any = None,
597-
index: Optional[Union[ArrayLike, Index]] = None,
597+
index: Optional[Union[ArrayLike, "Index"]] = None,
598598
dtype: Optional[Dtype] = None,
599599
name: Optional[str] = None,
600600
copy: bool = False,
601601
fastpath: bool = False,
602602
dtype_if_empty: Dtype = object,
603-
) -> Series:
603+
) -> "Series":
604604
"""
605605
Helper to pass an explicit dtype when instantiating an empty Series.
606606

0 commit comments

Comments
 (0)