Yikun opened a new pull request, #36712: URL: https://github.com/apache/spark/pull/36712
### What changes were proposed in this pull request? Since pandas 1.4 https://github.com/pandas-dev/pandas/commit/aaba0efd630ed607c5aaaef7b5f43d2fe90ca81c > Series.__repr__() and DataFrame.__repr__() no longer replace all null-values in indexes with “NaN” but use their real string-representations. “NaN” is used only for float("nan") We need to fix the doctest in PS ### Why are the changes needed? follow pandas behavior ### Does this PR introduce _any_ user-facing change? Yes, follow pandas behavior ### How was this patch tested? CI passed -- 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]
