We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbe77e commit 1d610caCopy full SHA for 1d610ca
pandas/core/window/ewm.py
@@ -3,6 +3,7 @@
3
import datetime
4
from functools import partial
5
from textwrap import dedent
6
+from typing import TYPE_CHECKING
7
import warnings
8
9
import numpy as np
@@ -20,10 +21,12 @@
20
21
from pandas.core.dtypes.common import is_datetime64_ns_dtype
22
from pandas.core.dtypes.missing import isna
23
-from pandas import (
24
- DataFrame,
25
- Series,
26
-)
+if TYPE_CHECKING:
+ from pandas import (
+ DataFrame,
27
+ Series,
28
+ )
29
+
30
import pandas.core.common as common # noqa: PDF018
31
from pandas.core.util.numba_ import maybe_use_numba
32
from pandas.core.window.common import zsqrt
0 commit comments