HyukjinKwon commented on a change in pull request #32657:
URL: https://github.com/apache/spark/pull/32657#discussion_r639314873
##########
File path: python/pyspark/pandas/tests/test_stats.py
##########
@@ -375,14 +375,15 @@ def
test_stats_on_non_numeric_columns_should_be_discarded_if_numeric_only_is_tru
self.assert_eq(len(psdf.kurtosis(numeric_only=True)),
len(pdf.kurtosis(numeric_only=True)))
self.assert_eq(len(psdf.skew(numeric_only=True)),
len(pdf.skew(numeric_only=True)))
- self.assert_eq(
- len(psdf.quantile(q=0.5, numeric_only=True)),
- len(pdf.quantile(q=0.5, numeric_only=True)),
- )
- self.assert_eq(
- len(psdf.quantile(q=[0.25, 0.5, 0.75], numeric_only=True)),
- len(pdf.quantile(q=[0.25, 0.5, 0.75], numeric_only=True)),
- )
+ # TODO(SPARK-35510): This fails with Python 3.9. We should fix and
reenable it.
+ # self.assert_eq(
+ # len(psdf.quantile(q=0.5, numeric_only=True)),
+ # len(pdf.quantile(q=0.5, numeric_only=True)),
+ # )
+ # self.assert_eq(
+ # len(psdf.quantile(q=[0.25, 0.5, 0.75], numeric_only=True)),
+ # len(pdf.quantile(q=[0.25, 0.5, 0.75], numeric_only=True)),
+ # )
Review comment:
Oh, this test was added after we tested with Python 3.9 (as part of
pandas-on-Spark).
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]