Skip to content
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

Retrieve a subset dataframe after qgrid filtering #117

Closed
rodolfo-flores-seagull-com opened this issue Jun 30, 2017 · 1 comment
Closed

Comments

@rodolfo-flores-seagull-com
  • Jupyter Notebook (Anaconda distribution)
  • Pandas 0.20.1
  • Qgrid 0.3.3

Is there an option to retrieve a filtered dataset as a new dataframe?, i tried this but when I get a dataframe back, it's still show me all rows.

Note that the column BroadPhaseofFlight is filtered only for "APPROACH" values
from IPython.display import display
grid = qgrid.QGridWidget(df=test)
display(grid)
2017-06-30 16_47_13-mongo

display(grid.df)
2017-06-30 16_49_23-mongo

Thanks a lot for your help

@TimShawver
Copy link
Contributor

Thanks for the feedback. This issue is already logged here: #87 so I'm going to close this issue.

I'm currently working on a project which moves the sorting and filtering logic to the notebook server (currently it's done in javascript in the browser), and this problem will get solved as part of that project. I'll close that other issue (#87) once I finish that project, so if you subscribe to notifs on that issue, you should be notified when this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants