-
Notifications
You must be signed in to change notification settings - Fork 915
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 select_dtypes
to work when non-class dtypes present in dataframe
#8849
Fix select_dtypes
to work when non-class dtypes present in dataframe
#8849
Conversation
Since the PR title becomes the changelog entry, could you please update the title to reflect the nature of the bug fix? See here for an example of what happens. |
this should have labels |
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #8849 +/- ##
================================================
- Coverage 10.67% 10.58% -0.10%
================================================
Files 110 116 +6
Lines 18271 18652 +381
================================================
+ Hits 1951 1974 +23
- Misses 16320 16678 +358
Continue to review full report at Codecov.
|
select_dtypes
to work when non-class dtypes present in dataframe
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.
Looks good, minor comment..
Co-authored-by: GALI PREM SAGAR <[email protected]>
@gpucibot merge |
Addresses bug #6919.
issubclass
expects a class, but a list is not a class, so we must add a check before callingissubclass
on it.