Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert excel file to csv with pandas

import pandas as pd
import os

df = pd.read_excel('Book1.xlsx', sheet_name='Sheet1')
current_working_directory = os.getcwd()
save_path = current_working_directory + 'file_name.csv'
df.to_csv(save_path)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #convert #excel #file #csv #pandas
ADD COMMENT
Topic
Name
3+6 =