I have dataframe, one of column is a list of items , for each cell of this column, the list is different. can I show each cell under this column as a dropdown list, that allows users to select?
many thanks, in advance!
I have dataframe, one of column is a list of items , for each cell of this column, the list is different. can I show each cell under this column as a dropdown list, that allows users to select?
many thanks, in advance!
You can set options as unique value from cell of this column by some thing like:
options=[
{'label': x, 'value': x}
for x in df['columns_name'].unique()])
Thank you!.
this is now working, as this column type is a list , each cell is a list of items, each row in this cell , there are different items for each cell.
I appreciated your reply