create multiple dataframes from unique values of a cloumn
The simple way is delete other columns and assign different name. @krishna
I have dataframe with columns(issue_id,summary, source_id). The source_id has values ranging from 1 to 3.
I want to create multiple dataframes having name df_1, df_2,df_3  as per the values in source_id.
I tried groupby and it gave a dict. but converting dict to dataframe is giving only 1 dataframe.
data_dict={'df'+str(i): grp for i , grp in df.groupby('Source_sys')}
pd.DataFrame.from_dict(data_dict,orient = 'index')
output:
0
df1     Issue ...
df2     Issue ...
df3     Issue ...