I have this dictionary:
diccionario = {'Monetarios':['B1','B2'],
'Monetario Dinamico':['B1','B2'],
'Renta fija corto plazo':['B1','B2'],
'Garantizados de RF':['B1','B2'],
'Renta Fija Largo Plazo':['B2','B3'],
'Garantizados de RV':['B2','B3'],
'Mixtos Renta Fija':['B2','B3'],
'Mixtos Renta Variable':['B3','B4'],
'Renta Variable':['B3','B4'],
'Alternativos':['B3','B4'],
'Fondos Inmobiliarios en Directo':['G3','G3'],
'IIC de Inversion Libre':['G4','G4'],
'IIC de IIC de Inversion Libre':['G4','G4'],
'Money Markets':['B1','B2'],
'Money Markets Enhanced':['B1','B2'],
'Fixed Income Short Term':['B1','B2'],
'Capital Guaranteed Funds':['B1','B2'],
'Fixed Income Long Term':['B2','B3'],
'Capital Guaranteed Equity Funds':['B2','B3'],
'Mixed Fixed Income Funds':['B2','B3'],
'Mixed Equity Funds':['B3','B4'],
'Equity':['B3','B4'],
'Alternatives':['B3','B4'],
'Real State':['G3','G4'],
'Hedge Funds':['G4','G4'],
'Funds of Hedge Funds':['G4','G4'],
'HARMONIZED':'G4',
'HIGH_YLD_EMERGING_MARKETS':'B4'
}
And i want a data frame with the words i am using as keys as the first column and the values assigned to those keys as other columns, like this:
col 1 col 2 col 3
Monetarios B1 B2
Monetar din. B1 B2
Rent fija... B1 B2
... ...
I ve just got the first colum with this: df_dict = pd.DataFrame(diccionario)
k3 = list(df_dict.columns.values)
thanks in advance