You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by yi...@apache.org on 2022/12/09 11:46:12 UTC
[spark] branch branch-3.2-style-check created (now 49d31b0d860)
This is an automated email from the ASF dual-hosted git repository.
yikun pushed a change to branch branch-3.2-style-check
in repository https://gitbox.apache.org/repos/asf/spark.git
at 49d31b0d860 Update test_dataframe.py
This branch includes the following new commits:
new 49d31b0d860 Update test_dataframe.py
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org
[spark] 01/01: Update test_dataframe.py
Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yikun pushed a commit to branch branch-3.2-style-check
in repository https://gitbox.apache.org/repos/asf/spark.git
commit 49d31b0d860da90cf2f4ec696b3220f24355f65e
Author: Yikun Jiang <yi...@gmail.com>
AuthorDate: Fri Dec 9 19:46:01 2022 +0800
Update test_dataframe.py
---
python/pyspark/pandas/tests/test_dataframe.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/python/pyspark/pandas/tests/test_dataframe.py b/python/pyspark/pandas/tests/test_dataframe.py
index b4187d59ae7..15cadbebdb6 100644
--- a/python/pyspark/pandas/tests/test_dataframe.py
+++ b/python/pyspark/pandas/tests/test_dataframe.py
@@ -5774,6 +5774,10 @@ class DataFrameTest(PandasOnSparkTestCase, SQLTestUtils):
for value_psdf, value_pdf in zip(psdf, pdf):
self.assert_eq(value_psdf, value_pdf)
+ @unittest.skipIf(
+ LooseVersion(pd.__version__) < LooseVersion("1.3.0"),
+ "pandas support `Styler.to_latex` since 1.3.0",
+ )
def test_style(self):
# Currently, the `style` function returns a pandas object `Styler` as it is,
# processing only the number of rows declared in `compute.max_rows`.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org