-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Add _get_numeric_data()
to the public API?
#5775
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
Comments
Could you write a function that filters based on the dtypes property? I think this would be a pretty limited use case, so I'd prefer not to |
feel free to submit a function to say the cookbook for dtype filtering |
I find myself implementing this functionality over and over again. FWIW, I think having a public API for |
I suppose is not advertised that much |
!
|
How have I never noticed this? Cross-linking. This is more or less addressed in #7434. |
In a tool that I'm building that utilizes Pandas data frames, I'm adding a simple data validation layer to only accept numeric columns of a given data frame. I found a Stack Overflow question from a bit over a year ago pointing out the private
_get_numeric_data()
method in theDataFrame
class. Would it be possible to make this method part of the public API?(And my apologies if this request has been made before; I did a few searches through the issues and didn't find anything.)
The text was updated successfully, but these errors were encountered: