Answers for "dict to excel without external library"

1

dict to excel without external library

import pandas as pd

dict1 = {"number of storage arrays": 45, "number of ports":2390}

df = pd.DataFrame(data=dict1, index=[0])

df = (df.T)

print (df)

df.to_excel('dict1.xlsx')
Posted by: Guest on July-04-2020

Code answers related to "dict to excel without external library"

Python Answers by Framework

Browse Popular Code Answers by Language