itholic commented on code in PR #44675:
URL: https://github.com/apache/spark/pull/44675#discussion_r1448175750


##########
python/pyspark/testing/__init__.py:
##########
@@ -16,6 +16,11 @@
 #
 from pyspark.testing.utils import assertDataFrameEqual, assertSchemaEqual
 
-from pyspark.testing.pandasutils import assertPandasOnSparkEqual
+__all__ = ["assertDataFrameEqual", "assertSchemaEqual"]
 
-__all__ = ["assertDataFrameEqual", "assertSchemaEqual", 
"assertPandasOnSparkEqual"]
+try:
+    from pyspark.testing.pandasutils import assertPandasOnSparkEqual

Review Comment:
   Moved `assertPandasOnSparkEqual` from `pyspark.testing.pandasutils` to 
`pyspark.testing.psutils` to remove pandas dependency from the existing testing 
utils keeping `assertPandasOnSparkEqual` as an API as is.



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