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

Is it possible to set qgrid as the default dataframe renderer? #106

Closed
shuvrobiswas opened this issue Feb 14, 2017 · 2 comments
Closed

Is it possible to set qgrid as the default dataframe renderer? #106

shuvrobiswas opened this issue Feb 14, 2017 · 2 comments

Comments

@shuvrobiswas
Copy link

Hi quantopian,

Thanks for this excellent package!

I am wondering, is it possible to make qgrid the default renderer for dataframes, so that I can simply type

df

shift+enter and see a qgrid (without the need to import qgrid, or use any additional syntax)?

This would be very useful in terms of adopting qgrid for all of my projects.

Best,
Shuvro

@lengau
Copy link

lengau commented Mar 2, 2017

DISCLAIMER: I'm not a qgrid developer, just a user.

This would probably require merging qgrid into pandas, since Jupyter notebook gets the HTML used for displaying the DataFrame by running its _repr_html_ method, so it's unlikely to happen any time soon.

@ssanderson
Copy link
Contributor

Closing this as a dupe of #8. From the discussion there, I believe this is already possible (and in fact the IPython team did some work to make this possible specifically for QGrid). @ellisonbg made an example notebook for this at https://gist.github.com/ellisonbg/5c54f995bfcd64b90dc2, though it's a year old now and a lot has changed in that time, so I'm not 100% sure it still works.

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

No branches or pull requests

3 participants