-
Notifications
You must be signed in to change notification settings - Fork 0
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
How-to explore a Kiara table in Jupyter? #1
Comments
There is no recommended approach as far as I am aware, we'd have to come up with one? If you are happy with the way Jupyter does it for pandas frame, I'll add a method that forwards the Jupyter 'magic' method for the kiara If you want more, there are options as well, but would involve quite a bit more work. A starting point would probably be https://ipython.readthedocs.io/en/stable/config/integrating.html -- but it can get arbitrarily complicated depending on what exactly you want to achieve. Also, I have no real experience here, I have never actually implemented my own Jupyter widgets, so I'm not sure how all this is reliant on the notebook api, or the lab one, etc. |
I labelled this issue as a "discussion" so that we can work towards a recommended approach via the discussion. I have a question concerning the temporary code workaround. Here is an extract of this code you provided:
Is there currently a possibility, via the workaround code (for display testing purposes to help find what could be useful before potential implementation later), of having several outputs like |
No idea, to be honest. I'd guess not. You'll have to look up how the |
What I meant is: would there be a way for users to choose the value that is rendered by Kiara in the notebook: for example:
I can figure out the |
Ah, sorry, I misunderstood. This is probably a good as any example for what I was talking about, in terms of the kiara API by itself not being sufficient to have a good user experience when using it from Jupyter. What we could do here is record a requirement (or multiple) around how users should be able to preview values (this would be specific to the table datatype, but I'd guess we'd have to do the same exercise for all the other datatypes). Then I can add helper methods to the So, it's possible, but whether or not we would want to support it would be a decision the product owner of the Jupyter client product would determine. |
Ok great, thanks. Then I will experiment by converting to pandas for now, just for playing with ideas and getting feedback from the team on what may be needed/useful or not. |
Is there a recommended approach to let users explore a Kiara table in Jupyter or some steps that could be implemented (e.g. from my side) to move towards this goal?
Ideally, users may need to sort and filter rows and navigate the data frame.
The text was updated successfully, but these errors were encountered: