python - Convert xlsx to parquet -


is possible convert xlsx excel file in parquet without converting in csv ? thing have many excel files each many sheets , don't want convert each sheet in csv , in parquet wonder if there way convert directly excel parquet ? or maybe, there way nifi ? wanted way using python script ` def csv_from_excel():

wb = xlrd.open_workbook('your_workbook.xls') sh = wb.sheet_names() in sh:     sh = wb.sheet_by_name(i)     your_csv_file = open('your_csv_file.csv', 'wb')     wr = csv.writer(your_csv_file, quoting=csv.quote_all)      rownum in xrange(sh.nrows):         wr.writerow(sh.row_values(rownum))      your_csv_file.close() ` 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -