-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] _builtin_table import in groupby apply (changed in pandas>=1.3.0) #2184
[FIX] _builtin_table import in groupby apply (changed in pandas>=1.3.0) #2184
Conversation
I've just seen that this issue was solved 6 days ago in the |
@Cedric-Magnan would you mind bringing the changes to this PR? |
@HyukjinKwon Comments from the pyspark repository have been applied to this PR in the latest commit. |
cc @ueshin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending tests.
Codecov Report
@@ Coverage Diff @@
## master #2184 +/- ##
==========================================
- Coverage 95.36% 95.16% -0.20%
==========================================
Files 60 60
Lines 13707 13746 +39
==========================================
+ Hits 13071 13081 +10
- Misses 636 665 +29
Continue to review full report at Codecov.
|
Merged. Thanks @Cedric-Magnan. |
I have recently had an issue while upgrading pandas to the latest version in my Databricks environment :
AttributeError: type object 'SelectionMixin' has no attribute '_builtin_table'
Pandas has recently refactored the way we import the _builtin_table and is now part of the
pandas.core.common
module instead of being an attribute of thepandas.core.base.SelectionMixin
class.PR that was merged in the 1.3.0 : pandas-dev/pandas#40857
This suggestion should solve the issue !