edit large CSV file before reading it to a table
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2021 年 5 月 6 日
Use 'delimiter', ';', and 'SelectedVariableNames' with a vector that is the two column numbers.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!