“XLSX a CSV Python” Código de respuesta

Convertir Excel a CSV usando Python

import pandas as pd
data_xls = pd.read_excel('excelfile.xlsx', 'Sheet2', dtype=str, index_col=None)
data_xls.to_csv('csvfile.csv', encoding='utf-8', index=False)
Zealous Zebra

XLSX a CSV Python

import pandas as pd

read_file = pd.read_excel (r'Path where the Excel file is stored\File name.xlsx')
read_file.to_csv (r'Path to store the CSV file\File name.csv', index = None, header=True)
Cloudy Civet

Respuestas similares a “XLSX a CSV Python”

Preguntas similares a “XLSX a CSV Python”

Más respuestas relacionadas con “XLSX a CSV Python” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código