vishavjeet

singh.vishavjeet11@gmail.com

How can convert excel to csv in python?

Posted on July 22, 2021



 excel_raw_data = pd.read_excel(request.FILES.get('feed_product'))
# Convert excel to csv file
excel_raw_data.to_csv("feed_product.csv", index=None, header=True)
# read csv file
csv_raw_data = pd.DataFrame(pd.read_csv("feed_product.csv"))


Sign In for comment and like the post.