Skip to content

dict_to_xlsx

esta.aide.dict_to_xlsx

dict_to_xlsx(dictt, exclfile=None)

save dictt to xlsx here first dictt is change panda dataframe and then to excel.

Here is the example to with dict input to pandas DataFrame

creating the dataframe

df = pd.DataFrame({"Name": ['Anurag', 'Manjeet', 'Shubham',

'Saurabh', 'Ujjawal'],

"Address": ['Patna', 'Delhi', 'Coimbatore',

'Greater noida', 'Patna'],

"ID": [20123, 20124, 20145, 20146, 20147],

"Sell": [140000, 300000, 600000, 200000, 600000]})