This repository was archived by the owner on Jun 22, 2019. It is now read-only.
This repository was archived by the owner on Jun 22, 2019. It is now read-only.
Boolean values not showing #10
Open
Description
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')
Metadata
Metadata
Assignees
Labels
No labels