Style properties for DataTables

Similar for Tables:

import pandas as pd
import datapane as dp

df = pd.DataFrame(
{
“text”: [“foo foo foo foo foo foo foo foo”, “bar bar bar bar bar”],
“number”: [1, 2],
}
)

df = df.style.set_properties(subset=[“text”], **{“width”: “50px”})

dp.Report(df).save(“df_column_width.html”)