zhengruifeng commented on code in PR #49288:
URL: https://github.com/apache/spark/pull/49288#discussion_r1897544302
##########
python/pyspark/pandas/frame.py:
##########
@@ -13779,11 +13779,15 @@ def _test() -> None:
import tempfile
import uuid
from pyspark.sql import SparkSession
+ from pyspark.testing.utils import have_jinja2
import pyspark.pandas.frame
os.chdir(os.environ["SPARK_HOME"])
globs = pyspark.pandas.frame.__dict__.copy()
+ if not have_jinja2:
+ del pyspark.pandas.frame.DataFrame.to_latex.__doc__
Review Comment:
sounds good
--
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]