HyukjinKwon commented on code in PR #36063:
URL: https://github.com/apache/spark/pull/36063#discussion_r846944064
##########
python/pyspark/pandas/window.py:
##########
@@ -18,16 +18,19 @@
from functools import partial
from typing import Any, Callable, Generic, List, Optional
Review Comment:
```suggestion
from typing import Any, Callable, Generic, List, Optional
import numpy as np
```
##########
python/pyspark/pandas/window.py:
##########
@@ -18,16 +18,19 @@
from functools import partial
from typing import Any, Callable, Generic, List, Optional
+from pyspark import SparkContext
from pyspark.sql import Window
from pyspark.sql import functions as F
from pyspark.pandas.missing.window import (
MissingPandasLikeRolling,
MissingPandasLikeRollingGroupby,
MissingPandasLikeExpanding,
MissingPandasLikeExpandingGroupby,
+ MissingPandasLikeExponentialMoving,
)
# For running doctests and reference resolution in PyCharm.
+import numpy as np
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]