[Dash Plotly] Data Table is slow to update


#1

Hi there,

I’ve coded an App which plots 6 graphs based on a Data Table, i.e, the data table filters all the graphs (@appcallback Input => dt.Datable)

dt.DataTable(
rows=df_full.to_dict(‘records’),

            # optional - sets the order of columns
            columns=df_full.columns,

            row_selectable=True,
            filterable=True,
            sortable=True,
            min_height = 400,
            selected_row_indices=[],

My problem is whenever i’m filtering something in the Data Table, the app takes a lot of time to update.

My dataframe is 8 000 x 10(col) big.

Do you have any ideas how I could improve the speed performance, without having to shift from the datable to a dropdowns/radio items controls.

Thanks a lot