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

Please add support for columns with pd.Interval values #14

Open
nick-shapavalau opened this issue Nov 28, 2024 · 0 comments
Open

Please add support for columns with pd.Interval values #14

nick-shapavalau opened this issue Nov 28, 2024 · 0 comments

Comments

@nick-shapavalau
Copy link

Try:

interval = pd.Interval(*map(pd.Timestamp, ('2024-01-01', '2024-01-31')))
s = pd.Series([interval])
show_grid(s)

Error:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to create view for 'QgridView' from module 'qgridnext' with model 'QgridModel' from module 'qgridnext'
TypeError: Cannot read properties of undefined (reading 'enum')
    at p.initialize_slick_grid (http://localhost:8888/lab/extensions/qgridnext/static/921.d14dca89e63909633fd7.js?v=d14dca89e63909633fd7:1:48898)
    at p.initialize_qgrid (http://localhost:8888/lab/extensions/qgridnext/static/921.d14dca89e63909633fd7.js?v=d14dca89e63909633fd7:1:44596)
    at p.render (http://localhost:8888/lab/extensions/qgridnext/static/921.d14dca89e63909633fd7.js?v=d14dca89e63909633fd7:1:44433)
    at http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/327.8166aeb81cf1531ca240.js?v=8166aeb81cf1531ca240:1:2958
    at async w.renderModel (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/446.bf169bd3821a9ba1aa62.js?v=bf169bd3821a9ba1aa62:1:72757)

Possibly similar story to pyarrow support in #2

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

1 participant