ueshin commented on a change in pull request #33687:
URL: https://github.com/apache/spark/pull/33687#discussion_r686445834



##########
File path: python/pyspark/pandas/groupby.py
##########
@@ -44,10 +44,16 @@
     TYPE_CHECKING,
 )
 
-import numpy as np
 import pandas as pd
 from pandas.api.types import is_hashable, is_list_like
 
+if parse_version(pd.__version__) >= parse_version("1.3.0"):

Review comment:
       Shall we use `LooseVersion`?




-- 
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]

Reply via email to