Como abrir y mostrar cómo lista de listas un archivo csv? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Como abrir y mostrar cómo lista de listas un archivo csv?

Necesito abrir un archivo csv con columnas de números, números decimales, nombres y fechas. Una vez abierto debo mostrárselo al usuario y luego agregarle cosas y modificarlo

24th Nov 2019, 8:54 AM
Imanol Antoniolli
Imanol Antoniolli - avatar
1 Antwort
0
Maybe you would like to try the pandas library? It usually already comes with the anaconda distribution. pandas offers a variety of functions and data types for operating on data. E.g. you could read your csv with read_csv() and work with the therby generated data frame or you could convert it to another type.
25th Nov 2019, 4:39 PM
Lisa
Lisa - avatar