edit large CSV file before reading it to a table
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sani
el 6 de Mayo de 2021
Comentada: sani
el 6 de Mayo de 2021
hi,
I have a very large (16Gb) CSV file that contains one column with data separated by semicolumn.
I only need 2 columns from this data, but I cannot read it first since the memory is running out (I have 16Gb ram).
Is it possible to somehow separate the semicolumn to a column and read only the data I need (which is 2/6 columns)?
2 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Mayo de 2021
Use 'delimiter', ';', and 'SelectedVariableNames' with a vector that is the two column numbers.
Más respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!