Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
2answers
31 views

Is there any means of Importing folder with images( .jpeg) directly?

I am using Mathematica for training dataset of fruits, for which i need to import the collection of images. Can we import a folder with images directly or Do we need to import each image in iteration ...
4
votes
2answers
99 views

How to import only the first column

I have a file with data given in this manner: ...
5
votes
1answer
158 views

How to save/load (export/import) symbolized variables?

I have a large number of variables/functions with subscripts and use definitions with memoization to avoid recomputing them within a kernel session, but I cannot figure out how to export them all for ...
8
votes
1answer
97 views

11.3 - import of files with paths containing non-ASCII characters [duplicate]

Import: Version 11.2 works correctly, no problem with non-ASCII characters in the path of file. But upgrated version 11.3 a) does not import these files b) ...
0
votes
0answers
30 views

How to Import .edf file in Mathematica?

My file is: https://drive.google.com/file/d/1dbjE4zWRS4zKr2lQk05wg-bjEyM5KT0I/view?usp=sharing I was trying to import .edf file in Mathematica, but every time it showed error. Import["File.edf"]; ...
5
votes
1answer
95 views

webscraping: Wolfram notebook vs browser

In the Netherlands there is a website Funda.nl There you can find all houses for sale or for rent. I used webscraping as a tool to collect data for analyse-purpose. The script I used is like: ...
0
votes
2answers
41 views

Customized function for manipulation of data and plotting

I have a number of datasets (csv) which require the same manipulation and plotting, but I don't want to repeatedly write the same set of code again and again. What is the best way to do this? Piece ...
6
votes
1answer
145 views

Working with a CSV data file with 100 millions rows (and 30 columns)

I am new to working with large datasets.. Currently I am struggling to upload a "big data" file into Mathematica. The file is in the CSV format and has 14GB. There are 100 millions of rows and 30 ...
3
votes
1answer
57 views

Importing data from an https server

When trying to import data from an https request I get the following error message. ...
2
votes
2answers
31 views

View header information of FITS file

I'm dealing with .fits (.fit) files with Mathematica, and these files are Fermi LAT GRBs data. We can import one of them by ...
2
votes
1answer
34 views

Using SFTP directories as regular directories

Is it possible to use SFTP directories in a similar way to normal directories in Mathematica? I would like it if I could Import,Export,Get,Put etc to SFTP directories just as if they were normal ...
1
vote
1answer
40 views

Convert Part of Subscript Files to Math Form

I have french subscript file here: https://uploadfiles.io/iehon If you download it an open it with Word, you can see that the math sections are but between $<i>$ and <\i>: To import the ...
1
vote
0answers
33 views

Help Import Special Character File [closed]

I have a text file. Get it here: https://ufile.io/iehon It's frensh, a subscript file and there is a lot of math. When I import it in Mathematica using: ...
2
votes
1answer
30 views

Character Encoding Problem with ReadList

I have a .srt file (subtitle file) with the following text: Chapitre 1 : Systèmes d'équations linéaires et matrices However when I import it into Mathematica, using: ...
1
vote
1answer
48 views

How to separate rows with commas in imported CSV

I imported a CSV file that uses commas as its delimiter, but some fields also contain commas. When I import the file into Mathematica as follows ...
3
votes
1answer
58 views

Excel to Mathematica and plot [closed]

I have an csv file that I open with excel. In it 2 columns of numbers. I'd like to import it to mathematica and plot it. How can I do ?
2
votes
2answers
42 views

How can I read the special element in a very complicated format of data?

I have a complicated data set (see the image below), and I need to read the magnitude of Etot from this data set. Any idea how can I do that?
1
vote
1answer
53 views

Loop for saving images with plots of numerical data to make a movie

I am having a problem with construction of a loop that would load data from a bunch of files one by one, then produce a plot for each of the files, then save each of the plots as a separate image file,...
1
vote
0answers
53 views

Creating a plot from an image of the plot

I have an image of a plot at https://imgur.com/a/h9OWP6p Import["https://i.imgur.com/vNqm0Em.png"] I want to create a plot of it, consistent with the scale in ...
1
vote
0answers
47 views

How can a .jmp file (from the statistical software JMP) be imported into Mathematica?

The Wolfram documentation and MSE say nothing about the statistical software JMP or .jmp files. A simple Import["filename.jmp"] or ...
1
vote
1answer
62 views

Problem importing from HDF5

I'm trying to import an item from a valid HDF5 file, but I get this error: I can read the metadata, but cannot import the actual tensor dataset: And yet it's not an issue with the file's data - as ...
0
votes
0answers
32 views

Trouble importing PDF onto mathematica

I'm new to Mathematica, so I don't really understand some of the coding. Each time I enter this, or a variant of this code ...
3
votes
1answer
75 views

ReadList text file from GZIP [closed]

I'm trying to open several large .txt files which are located in a GZIP file. I am able to import each separate file using Import, but this is too slow. I do it like this: ...
1
vote
0answers
48 views

Import file without specifying the directory

Consider a situation when we import some file in a .nb from a sub-directory located at the directory where .nb is located. We need to write specific path to the file. Next, suppose that we moved file ...
4
votes
1answer
83 views

How to disable date parsing in Import? [closed]

I am trying to import a .csv file which has columns of strings, reals and dates. Import keeps giving me the dates as DateObject, ...
4
votes
1answer
49 views

How can I import a txt list from a dropbox link?

I have a large txt data stored in this link. I have tried this: ...
9
votes
2answers
76 views

What is the fastest way to read the new lines in the dynamically updatable file?

I'm writing a log to a simple .txt file and want to read the last few records using Mathematica. But there are some problems. f = OpenRead["logs.txt"]; Skip[f, ConstantArray[Number, 2], 1]; Read[f, ...
8
votes
2answers
115 views

How to import python pickle *.pkl?

I find some ELMo-models on github. I want to use the Simplified-Chinese version: http://pbmpb9h15.bkt.gdipper.com/zhs.model.tar.xz But these files were saved as python pickles. I want to import ...
4
votes
0answers
39 views

Weird behaviour when importing a mixed graph from GraphML file

Consider a mixed graph G1 stored in GraphML file: ...
2
votes
1answer
33 views

How to read the files inside of a tar file without untaring it?

I have a tra.gz file which contains many ascii format files insdie. I would like to read those ascii files without untaring the actual tar file. I know it can be done in python easily but is it ...
-1
votes
1answer
48 views

Performing a nonlinear fit from data imported from a text file

I have a text file data that I imported and I want to fit it with a given equation. I tried to fit but it did not work and gives Here is my code: ...
12
votes
1answer
154 views

Exporting graph object for later use

We are planning to analyze geometry of artery branch pattern. We convert the binarized image into graph object using MorphologicalGraph[]. To avoid the complexity ...
1
vote
1answer
49 views

Inserting dat by using for? [duplicate]

I have data set in a form ROG1.dat, ROG2.dat,...,ROG100.dat, I want to import all of them in Mathematica, Can you tell me how? Best
0
votes
1answer
44 views

How to correct not precise values

I have the source file file = "test.txt" with these values: ...
0
votes
0answers
11 views

Importing clampex .abf data into mathematica

I`ve been looking for a way of directly importing data from axon binary files (.ABF) acquired with the clampex software (software webpage). I believe this will be very helpful for all the user that ...
0
votes
0answers
34 views

How should I import list of results with scientific numbers so they can be used for further calculation?

I have a file, listOfResults.txt, consisting of many rows of which the following is an example: ...
1
vote
1answer
39 views

Import image files in the order of the file name number [duplicate]

I would like to import images which are frames from a video, they are numbered, so importing them in the correct order should not be a problem... However, when I import them, by writing: ...
3
votes
2answers
39 views

How to convert a list of names and values into a series of expressions [duplicate]

I had an Excel spreadsheet with a list of symbols names in the first column and a list of values in the second column. I imported it. Working with the resulting expression, I now have (in Mathematica) ...
1
vote
1answer
59 views

How to parse complex response from SDMX-JSON endpoint in Mathematica

I am trying to use a datasource that has an SDMX-JSON endpoint. I am currently running my tests on Mathematica 10.3.1 running on 64-bit Linux. I started off by familiarising myself with the tools to ...
1
vote
3answers
32 views

Importing table with symbolic and numerical rows

Consider generated numerical data with added symbolical row: ...
-1
votes
1answer
67 views

Importing a file inside Zip with OpenRead

How do I import a text file that is compressed inside a .Zip file using OpenRead? I know how to do it using Import ...
4
votes
0answers
56 views

Export/Put and Import/Get

I have questions about importing and exporting that don't seem to have up-to-date answers anywhere. What's the difference between Export and Put? Which should I use if I care about how long it takes ...
1
vote
1answer
45 views

Memory consumption for importing numerical data from an ascii file

I am importing a file which contains data consinsting of 8918347 lines and 6 columns of the following type: ...
1
vote
2answers
64 views

Import data from Excel and plot in Mathematica

I'm trying to Plot data in Mathematica that I upload from Excel. The Excel file has 5 columns. The first column I would like to be the x-values, and the remaining ...
1
vote
1answer
55 views

Getting PDF from imported Histogram

So I'd like to create a probability density function from an existing histogram from a program that I use. My input data is of the form ...
10
votes
1answer
117 views

Import Converter as a Paclet

In short, I have a package that can load a proprietary device file-format. The underlying reading code is written in Java, packed into .jar, and in a Mathematica ...
3
votes
1answer
96 views

Getting data using webscraping (Obtaining links from search engine with redirect)

In the past I have used the function Import in relation with "Hyperlink" to collect hyperlinks and data from the internet. For ...
3
votes
1answer
45 views

How to retrieve values of a function from a file

I defined the following function: q5e8[z_?NumericQ] := q5e8[z?NumericQ] = NIntegrate[Sin[(2 5 10^8 - v) z]/z^5, {v, 0.1, 2 5 10^8}] As you can see, it is a ...
2
votes
1answer
29 views

Just typing Import[] tries to list folders in a directory, and it is slow over sshfs

It appears that Mathematica tries to list the folder that you're typing into an Import[] statement. Since I'm working with folders mounted over sshfs and they ...