Edit script.py capitalization and grammar

This commit is contained in:
dumbprogrammer 2022-12-23 22:58:42 -06:00 committed by GitHub
parent 331017470f
commit e8cf0597d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@ import pandas as pd
def makeExcel():
df = pd.read_csv('Path to your CSV file.csv')
# index and header can be set True or False accoring to needs
df.to_excel('Path where save as Excel file.xlsx', index=False, header=True)
print('Converted Successfuly')
df.to_excel('Path to save as Excel file.xlsx', index=False, header=True)
print('Converted successfuly')
if __name__ == "__main__":
makeExcel()
makeExcel()