To split dataframe into multiple dataframes with Python Pandas, we can use list comprehension with
For instance, we write
[v for k, v in df.groupby('name')]
'name' to group by the
name column and then we get the split data frames from value
v with the data frames with the grouped items separated.