Reading large .csv data with 12 million rows
이전 댓글 표시
Hi all, I have .CSV file with 14 columns and around 12 million rows. I would like to read the data and use it for further analysis. When I use "readtable" command it reads only first two columns with all the information but fails to read other column data. Is there anyway I can read the entire dataset once?
Thanks in advance.
댓글 수: 3
Mathieu NOE
2021년 11월 10일
hello
can you share an extract of your file (14 columns x 1000 rows ) ?
Ganesh Naik
2021년 12월 16일
Mathieu NOE
2021년 12월 16일
ok glad you havefound a workaround ! :)
답변 (1개)
Sivani Pentapati
2021년 12월 1일
0 개 추천
Hi Ganesh,
You can try using readmatrix in place of readtable. Other workaround is to convert the 'csv' files into 'mat' files and save them with '-v7.3' option. Please refer to this answer for more information.
카테고리
도움말 센터 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!