itholic opened a new pull request #33817:
URL: https://github.com/apache/spark/pull/33817


   ### What changes were proposed in this pull request?
   
   This PR proposes to enable the tests, disabled since different behavior with 
pandas 1.3.
   
   - `inplace` argument for CategoricalDtype functions is deprecated from 
pandas 1.3, and seems they have bug. So we manually created the expected result 
and test them.
   - Fixed the `GroupBy.transform` since it doesn't work properly for 
`CategoricalDtype`.
   
   ### Why are the changes needed?
   
   We should enable the tests as much as possible even if pandas has a bug.
   
   And we should follow the behavior of latest pandas.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, `GroupBy.transform` now follow the behavior of latest pandas.
   
   ### How was this patch tested?
   
   Unittests.


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