@ -31,9 +31,9 @@ app.layout = html.Div([
dash_table.DataTable(
id='datatable-row-ids',
columns=[
{'name': i, 'id': i, 'deletable': True} for i in df.columns
{'name': col, 'id': col} for col in df.columns
# omit the id column
if i != 'id'
if col != 'id'
],
data=df.to_dict('records'),
editable=True,