Issue when importing large csv file
4 次查看(过去 30 天)
显示 更早的评论
I am attempting to import a large csv file (~3 million rows) using the function readtable. The data set is two columns, first is datetime in UTC, and the second is values from an accelerometer. However, when it imports into Matlab it gets sorted into 3 columns, partial date, hour, and rest of time with the accelerometer value paired with a comma. Why is Matlab expanding my dataset to 3 columns? I've opened the file in Excel and Notepad ++ and it is two columns. Thank you in advance!
4 个评论
Walter Roberson
2023-8-25
readtable() does not have an option named 'header' . It also does not have any options for which 'none' is a special value (for example if you use 'Sheet', 'none' then that would look for a sheet literally named "none" -- so 'none' is valid for some options but does not mean anything special to those options.)
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!