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

Table/Dataframe viewer improvements #348

Open
3 of 15 tasks
tlambert03 opened this issue Jan 6, 2022 · 0 comments
Open
3 of 15 tasks

Table/Dataframe viewer improvements #348

tlambert03 opened this issue Jan 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tlambert03
Copy link
Member

tlambert03 commented Jan 6, 2022

@kevinyamauchi's wish list from napari/napari#3512 (comment)

high priority"

  • Inputs: pandas DataFrame and a dict of numpy arrays
  • Outputs: pandas DataFrame and a dict of numpy arrays
  • Events:
    • value changed
    • cell selected
    • row selected
    • column selected, others?
  • Style: I don't have super concrete thoughts here, but
    • I think it should be easy for the user and devs to change the styling (e.g., fonts and font sizes) since the size of the tables and table values are going to vary widely.
    • For numeric values, I think it would be useful to specify the precision to avoid super wide float columns (perhaps similar to how it is done in formatted strings). (https://github.com/napari/magicgui/pull/301?)

"nice to have" (in rough order of my priority)

  • allow the columns to have types (https://github.com/napari/magicgui/issues/216). bonus points for being able to attach a validator function.
  • ability to "split" (e.g., keep the header row in view while the rest of the table scrolls)
  • allow colormaps to be attached to columns to color cells by value
  • lazy loading
  • a "search bar" the user can use to query the table
@tlambert03 tlambert03 added the enhancement New feature or request label Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant