ueshin commented on a change in pull request #34717: URL: https://github.com/apache/spark/pull/34717#discussion_r758685142
########## File path: python/pyspark/pandas/tests/test_series.py ########## @@ -2209,12 +2209,12 @@ def test_mad(self): pser = pd.Series([1, 2, 3, 4], name="Koalas") psser = ps.from_pandas(pser) - self.assert_eq(pser.mad(), psser.mad()) + self.assert_eq(pser.mad(), psser.mad(), almost=True) Review comment: Could you try with `check_exact=False` instead of `almost=True`? If it works, it's better because it still checks the internal structure of the Series / DataFrame; otherwise `almost=True` checks only values. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org