In wsgi_app error in app, loc doesnt work well with dropdownmenus multi=True

Viewed 16

I have a dropdown menu with multi for a callback in plotlydash for python

but this gives errors with this:

X= dff3.loc[:,[drop1]]

what could I use instead? (when I add more than 1 drop, the app stops … ) dff3 is a dataFrame that I have ... and drop1 is the dropdown columns that have a multi. X gives an error when selecting more than one column.

What can I do?

Edited: this is the case of study:

I have some data

Ihave to clean that data befero doing operations

to select the data, I have to choose the columns with the multi dropdown1 (and dont know how to do this)

after this I need to clean data with dropna

then comes all the operations (where the other dropdown comes to action)

and after this, it should give a table of results

that table of results its of width dropdown 2 and hight dropdown 1

and I should show the table in the dashboard

0 Answers
Related