-
Notifications
You must be signed in to change notification settings - Fork 760
improvement: add param to show dtypes in table header #5693
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I see the dypes in the example screenshot. Is it showing the dtypes disabled? Personally, rather than having some config I'd be open to be more opinionated and just always showing the dtype, is there a case where we wouldn't want to show it?
|
Yeah, by default it is shown. There have been requests to hide it like #2902 . |
|
Ah I see, I forgot the app/presentation use case. I'd argue that dtypes are necessary in edit mode to understand what your datatypes are. |
|
We could also hide it in app mode and not expose this as a parameter. But that will be a change in current behaviour, instead of making it opt-in. |
|
i think configurable is ok since its been requested a few times on Discord as well. |
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.14.13-dev18 |


📝 Summary
Fixes #2902 . Pass a
show_data_typesparam in mo.ui.table() to control display of dtypes.If we are not keen to add another param, we could make this a global config instead.
🔍 Description of Changes
📋 Checklist