Questions tagged [data-format]
Specific forms of data storage and file types external to Mathematica.
15
questions
33
votes
3answers
5k views
How to read data file quickly?
I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read ...
3
votes
2answers
448 views
Problem with NumberForm when exporting
I have a two-part question regarding NumberForm
First question
In my attempt at answering this i stumbled upon a strange behavior by NumberForm when the final result is exported.
Lets say I have ...
23
votes
3answers
2k views
Download xkcd Click and Drag comic
Inspired by the recent question about xkcd styled plots I started looking at xkcd again and I came across a comic titled Click and Drag. And if you do that, you start exploring a larger drawing. A ...
14
votes
4answers
1k views
DataEncoding and compression in HDF5 format
I would like to export data in HDF5 format with Mathematica 9.
The Mathematica manual about Import and Export of this format can be read here.
As I'm dealing with large arrays, export often lead to ...
7
votes
1answer
376 views
Accidentally corrupted graphics (?) data of notebook — now it won't open
In the process of editing my scripts' variable names with a haphazard "replace in all open files" in my text editor, I accidentally replaced portions of graphics data in a notebook (and I believe this ...
11
votes
2answers
657 views
Converting other C++ classes to MTensor in LibraryLink
Hopefully this will be a quick question + a quick answer:
Say I have a C++ (or C) code using LibraryLink. I am using a library that defines a specific matrix class, as many numerical libraries ...
2
votes
1answer
285 views
Backward compatibility issues while DumpSaving Interpolation polynomials
I have bkwrd compatibility issues when I save my NDSolve result (which is an interpolating polynomia) using DumpSave from Mathematica 8 on Windows 7 and then try ...
1
vote
2answers
677 views
Import large amount of data with time stamps
I have a large data file (150 000 lines) which I want to import in Mathematica. The first few lines look like this
...
11
votes
2answers
946 views
How to make Import recognize a new file extension?
I've written an import converter for a custom file format, and it all seems to be working as expected, except for the fallback behavior with no arguments:
...
8
votes
1answer
171 views
Organizing similar datasets using Contexts or otherwise
I often import several long time series to analyze something about a city. When I have multiple cities, I use contexts. As a simple example,
...
8
votes
2answers
649 views
Import YAML file into Mathematica
Has anyone implemented the import of YAML data files into Mathematica? I suppose some sort of transformation into a nested list of rules would be the way to do it. Thanks
23
votes
1answer
725 views
Getting EPS imports to respect the original fill rule
One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
4
votes
3answers
629 views
Support for Compressed Sparse Column sparse matrix representation
Is there native support for Compressed Sparse Column (CSC) format for sparse matrices, like importing and manipulating them?
4
votes
3answers
372 views
Plotting data with exponentials
I have some data with 19000 sublists such as :
{" 7.9080000e+01 1.9283193e+04"}
Where the first number is the value for variable ...
0
votes
1answer
73 views
Do, Write Through
Using:
Do[Write[OUTFILE, #] & @@ Through[{(#) &, Sin[#] &, Cos[#] &}[n]], {n, {1, 2, 3, 4}}]
results with file content:
...