I have a df that I want to split into several dfs based on the values in columns 'Name' and 'Plan'. for below df, I am looking to split into 6 dfs where rows 1 & 6 will be in the same df
df:
City State Name Plan Price
A CA Star Inn CTS 50
B CA 1 Inn KVG 100
C IN GS Hotel KHA 25
D FL HJ Resort 2QN 45
E AL PQ Inn POI 55
A CA Star Inn CTS 80
A CA Star Inn MNB 65
desired outputs
df1:
City State Name Plan Price
A CA Star Inn CTS 50
A CA Star Inn CTS 80
df2:
City State Name Plan Price
B CA 1 Inn KVG 100
and so on until df6...