I was wondering, how do the values of a multi-dropdown get returned? I’m trying to filter a dataframe using the following method to make a line-graph:
data_filtered = dff[dff.Topic.isin(value)]
Which throws me an error that .isin wants something else:
TypeError: only list-like objects are allowed to be passed to isin(), you passed a [str]
Funnily enough, if I then select some values in the Dash app, the graph does get correctly updated. So perhaps my problem is different from what I think it is…?
What if I could provide my graph with an initial value, that gets overwritten when the user inputs their values?