pandas-select #374
jeffzi
started this conversation in
Show and tell
Replies: 1 comment
-
|
This is neat! Btw the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm the author of pandas-select, a collection of DataFrame selectors that facilitates indexing and selecting data. The main goal is to bring the power of R's tidyselect to pandas.
I added support for pandera in the latest version:
Created on 2021-01-03 by the reprexpy package
With
pandas_select.SchemaSelector, you can filter any columns using attributes of the pandera schema attached to a dataframe.Generally speaking, I've been thinking about a proposal to extend DataFrameSchema.select_columns and adding arbitrary metadata to a schema. For example, adding a tag for roles (target, feature) in machine learning datasets (inspired from the R library Recipe).
^ This is already possible by simply subclassing
pandera.Column.Beta Was this translation helpful? Give feedback.
All reactions