📅  最后修改于: 2022-03-11 14:46:19.535000             🧑  作者: Mango
pythonCopyimport pandas as pd
dict_from_csv = pd.read_csv('csv_file.csv', header=None, index_col=0, squeeze=True).to_dict()
print(dict_from_csv)