@pricemg wrote:
Hi,
I have a dataframe with
ncolumns of categorical data and I want to make it so that the user can leave one axis free for subsequent exploring using a radio button and then can filter the remainingn-1columns using dropdown menus of the unique values in each of these columns.So for my dataframe I wold have a layour such as this
df.columns = ['col1', 'col2', 'col3' ... 'coln', 'value'] data_axis = [col for col in df.columns if not 'value' in col] # data_axis = ['col1', 'col2', 'col3' ... 'coln']I’m happy creating radio buttons to select one of the values of
data_axis, but what I then want it to be that I generate the remainingn-1dropdowns with each subsequent dropdown only containing the valid options left after making the selection in the prior dropdown. Again, I’m happy creating say, three static dropdowns that are each dependent on the previous selections, it’s the process of combining these ideas into one thing i’m struggling with.In particular it’s the process of creating the
n-1dropdowns that I cannot wrap my head around/find any good resource so any guidance/pointing to a useful resource would be great!
Posts: 1
Participants: 1







