asl3 opened a new pull request, #42332: URL: https://github.com/apache/spark/pull/42332
### What changes were proposed in this pull request? This PR adds support for pandas DataFrame in `assertDataFrameEqual`, while delaying all pandas imports until pandas environment dependency is verified. ### Why are the changes needed? The changes are needed to allow users to compare pandas DataFrame equality, while still ensuring compatibility for environments with no pandas installation. ### Does this PR introduce _any_ user-facing change? Yes, the PR affects the user-facing function `assertDataFrameEqual` ### How was this patch tested? Added tests to python/pyspark/sql/tests/test_utils.py and python/pyspark/sql/tests/connect/test_utils.py -- 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