1import pandas as pd
2data_xls = pd.read_excel('excelfile.xlsx', 'Sheet2', dtype=str, index_col=None)
3data_xls.to_csv('csvfile.csv', encoding='utf-8', index=False)
4
1import pandas as pd
2
3data = pd.read_csv("k.csv")
4
5data.to_excel("new_file.xlsx", index=None, header=True)