I have an existing dataframe (large) that I’d like to filter via a callback, and then insert the result into a data-table.
I am confused because I think I’ll need the original big dataframe as an input in the callback, however I’m not sure how I would do that.
Below is the structure of my code.
@app.callback( Output('filtered_table', 'data'), [Input('dropdown1', 'value'), Input('dropdown2', 'value'), "Original Dataframe here???" ]) def filter(dropdown1,dropdown2): filtered dataframe based on dropdown 1& 2 value