For the table widget, can we rename the column labels?
I am going through the documentation of the table element, and I am wondering can the column label be renamed? Or we must do that in a dictionary object first?
Solution:Jump to solution
i would change it from the data you have before passing it into
mo.ui.table
2 Replies
Solution
i would change it from the data you have before passing it into
mo.ui.table
this may be easier when using polars or pandas
https://docs.pola.rs/api/python/dev/reference/dataframe/api/polars.DataFrame.rename.html