john_helt
john_helt7mo ago

is there a way to reduce the number of

is there a way to reduce the number of digits written in a table by marimo? Right now, I end up with a ton of significant digits. I know you can format this as a string to reduce the number of digits, but is there a built-in method?
1 Reply
Myles Scolnick
Myles Scolnick7mo ago
not currently, but possibly we should use the Dataframe settings (e.g. for pandas, use display.precision) in mo.ui.table you could also do df.round(2) before passing it in to mo.ui.table