marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Let user hide datatype in tables headers

Open mrdobalina2k opened this issue 1 year ago • 1 comments

Description

Suddenly the datatypes have appeared as "string", "number" etc under the table headers. I would very much like to hide these types.

Image

Suggested solution

Add an argument like hide_datatypes or something similar to the table constructor.

Alternative

No response

Additional context

No response

mrdobalina2k avatar Nov 20 '24 10:11 mrdobalina2k

This cropped up when I started to auto-infer data-types from the column values: https://github.com/marimo-team/marimo/pull/2796

I've fixed that in this PR: https://github.com/marimo-team/marimo/pull/2907, which won't show data-types if you pass a list/dict, and instead only show when you pass a dataframe.

We can also make this configurable, but this at least fixes the default case.

mscolnick avatar Nov 20 '24 16:11 mscolnick