Open flavianh opened 6 years ago
Hello there,
Boolean values show up empty in a data table. You can reproduce with the following code:
df = pd.DataFrame({'boolean_column': [True, False, True]}) app.layout = html.Div(children=[ dt.DataTable( rows=df.to_dict('records'), columns=df.columns, editable=False, filterable=True, sortable=True, id='datatable' ), ])
As a workaround I used rows=df.astype(str).to_dict('records')
rows=df.astype(str).to_dict('records')
Underlying problem in react-data-grid? Boolean Values Not Showing in Cell: https://github.com/adazzle/react-data-grid/issues/882
Hello there,
Boolean values show up empty in a data table. You can reproduce with the following code:
As a workaround I used
rows=df.astype(str).to_dict('records')