Skip to main content

Questions tagged [import]

Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica

108 votes
3 answers
16k views

Unfortunately, some data can only be obtained in picture form (Japanese publications anyone?). Since this cannot be worked with, it has to be converted to a dataset that can; I was wondering whether ...
David's user avatar
  • 15.1k
76 votes
11 answers
18k views

Suppose I have a string containing the C-representation of a floating point number; for example s = "1.23e-5" and I want to convert this to a Mathematica number. ...
Ian Hinder's user avatar
  • 2,135
59 votes
5 answers
13k views

Consider the following graph (source): Is there any way to extract the data points from this image in a semi-automatic way? I have seen, and tried the methods suggested in this question, but they did ...
Eli Lansey's user avatar
  • 7,609
52 votes
2 answers
10k views

How to build a bvh player that can be used to visualize human motions in Mathematica? Any idea or sample code would be appreciated. ...
Putterboy's user avatar
  • 4,735
47 votes
5 answers
5k views

The Import command lets you do a HTTP GET from a URL, like this Import @ "http://merkosoncampus.com/wp-content/uploads/2011/05/higgs-boson.jpg" This sends an ...
Reb.Cabin's user avatar
  • 8,873
46 votes
6 answers
23k views

I know how to import one textfile by calling its name filestring = Import["myfile.tex", "Text"]; Then "filestring" is a string with the myfile content. How do ...
Nikolaj-K's user avatar
  • 1,485
44 votes
4 answers
7k views

Mathematica's Import command is purportedly able to import .AVI files. However, I find that many files that I want to import do only result in MMA showing a blank ...
Sjoerd C. de Vries's user avatar
42 votes
3 answers
4k views

A few weeks ago I created a big matrix, and in order not to have to recreate it, I stored it using DumpSave["file.mx", variable]. Now I want to read it back in and ...
bill s's user avatar
  • 70.1k
40 votes
2 answers
8k views

I've been using np.savetxt(location, result, delimiter=',') in Python followed by Import[location,"CSV"] in Mathematica. Some of ...
Yaroslav Bulatov's user avatar
39 votes
5 answers
11k views

I have two CSV files, each one is around 1 GB of data. When I use Import["file.csv"], it takes a very, very, long time to import the data. So how can I accelerate ...
m00nlight's user avatar
  • 1,582
38 votes
7 answers
9k views

I'm trying to import a simple Excel file containing 94,000 rows and 52 columns of various types, mostly Reals. It's a 38-MB file. I get this super helpful error ...
ArgentoSapiens's user avatar
37 votes
2 answers
10k views

I've got this CSV file I've imported that has tens of millions of lines in it. It takes around 20 minutes to import. I've been working with it for a while and have the processed data spread out in a ...
Mr Alpha's user avatar
  • 3,166
35 votes
3 answers
3k views

When creating a notebook with images, like photos, the file tends to quickly get big, which makes it difficult to use the notebook format for training material containing a lot of images. Are there ...
P. Fonseca's user avatar
  • 6,775
34 votes
3 answers
10k views

Bug introduced in 11.0 or earlier and persists through 12.0 (confirmed by WRI Support but read summary below) Answers summary I think we need a quick summary here to justify keeping bug. Original ...
Kuba's user avatar
  • 139k
34 votes
3 answers
7k views

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 ...
user13253's user avatar
  • 8,764

15 30 50 per page
1
2 3 4 5
107