Hi, guys.
I have a tsv file whose size is 20GB while my pc's memory is only 16GB.
When I read the file, it always shows errors.
I tried tall array as follows but fails due to tsv file cannot be recognized.
So I am looking for advice.
ds = tabularTextDatastore('D:\database1\scipatlinkage\paperauthoridaffiliationname.tsv');
ds.TreatAsMissing = 'NA';
ds.SelectedVariableNames = {'paperid','authorid','affiliationame'};
ds.SelectedFormats(2:3) = {'%s','%s'};
pre = preview(ds)
My matlab is R2020a
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/616938-how-to-deal-with-a-single-tsv-file-whose-size-is-out-of-the-memory#comment_1083998
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/616938-how-to-deal-with-a-single-tsv-file-whose-size-is-out-of-the-memory#comment_1083998
Sign in to comment.