I am having *.xlsx file like this
Key value1 value2
test1 3 5
test2 6 7
test3 6 5
need to convert this into dictionary like below
dict = {"test1":["3","5"]},{"test2":["6","7"]},{"test3":["6","5"]}
Code:
import pandas as pd
df = pd.read_excel('ExcelFile.xlsx')
As I am new to python, your help is highly appreciated.