I am trying to rename a dataframe in each iteration of my for loop. For column "item" in the "data" dataframe, I would like to generate dataframes up to the number of unique items in "item" column.
for item in data.item.unique():
data+"item" = data[data["item"] == item]