I'm new to Python and Pandas I have a DF that with 3 columns, as in the example below:
SRC Data1 Data2 AAA 180 122 BBB 168 121 CCC 165 147 DDD 140 156 EEE 152 103 AAA 170 100 CCC 166 112 DDD 116 155 EEE 179 119
What I need is to create a new DF for each value that is in SRC , for example:
DF_A
SRC Data1 Data2 AAA 180 122 AAA 170 100
DF_B
SRC Data1 Data2 BBB 168 121
and so on all values in SRC , what I did was create a DF with the unique values of SRC
pd.DataFrame(DataFrameBase.SRC.unique())
But I do not know if this will really help me!
Thanks for the help!