importing csv files with readtable
4 views (last 30 days)
Show older comments
Hi.I have several csv files created by some pother software (Python) ..I used readtable to proces them .The first row contains some stock names while the other are some dates and prices .readtable works great just the first row is seen as "header" somehow (row starts at columns 2) so I cannot save it somehow in the structure.When opened in Excel I do not see anything specific about the first row (# or anything like it) .Before I used textread but this one seems nicer -:)).Maybe I do something wrong .
3 Comments
Cris LaPierre
on 11 Nov 2020
Still not clear what the error is you are seeing. What is the code you are using to save the data to a structure? What is the error message you are getting? Please share the entire error message (all the red text). It would also be helpful if you shared the relevant code.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!