Questions tagged [tsv]

For questions about importing and exporting Tab Separated Values (commonly stored as .txt files) in Mathematica.

Filter by
Sorted by
Tagged with
3
votes
2answers
98 views

Is there a straightforward way of naming CSV/TSV columns when importing as a dataset?

I have data in TSV (tab-separated) files. The thing is, columns do not have headers. Importing data is as easy as ds = Import["foo.tsv", {"Dataset"}]; ...
20
votes
4answers
2k views

Fast MATLAB, slow Mathematica: Export a matrix as TSV

I am trying to find the best way of exporting matrices (results of a time-dependent CFD calculation). I found that .h5 is the fastest option, but h5 is not generic, i.e., I can't really open like a ...