HyukjinKwon commented on a change in pull request #34778:
URL: https://github.com/apache/spark/pull/34778#discussion_r760789523



##########
File path: python/pyspark/pandas/tests/test_dataframe.py
##########
@@ -5870,8 +5870,12 @@ def test_cov(self):
         self.assert_eq(pdf.cov(min_periods=5), psdf.cov(min_periods=5))
 
         # extension dtype
-        numeric_dtypes = ["Int8", "Int16", "Int32", "Int64", "Float32", 
"Float64", "float"]
-        boolean_dtypes = ["boolean", "bool"]
+        if LooseVersion(pd.__version__) >= LooseVersion("1.2"):

Review comment:
       @dchvn just to clarify, so cov API only works correctly with pandas 
1.2+? or are you just fixing the tests only?




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