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

Filter by
Sorted by
Tagged with
0
votes
1answer
63 views

Import CSV data from internet to mathematica [closed]

This Link has data in CSV format for 2015 and other years. I would like to get the data for 2015 (by clicking on 2015) but the CSV data format has more rows than Excel can handle and therefore the ...
2
votes
1answer
99 views

Is it possible to convert a matrix in $\LaTeX$ format to Mathematica input? [duplicate]

Is it possible to do this already in version 11.3? For example, I want to draw a graph ...
1
vote
1answer
45 views

Import 4 data columns and drop one of them [closed]

I would like to import 4 columns of data from a Dat-file(Fortran) and then drop the fourth one to use ListPlot3D and repeat this to drop the third one. When I used ...
5
votes
1answer
133 views

Import ZIP file options broken in Mathematica 12.2.0

I am trying to read a zipped table, which has its entries separated by colons. In Mathematica 12.1.1 (and earlier) this worked well with the following command: ...
0
votes
2answers
49 views

Convert GiNaC harmonic polylogarithms to HPL packages' notation in Mathematica

A general output from GiNaC (https://www.ginac.de/) of harmonic polylogarithms is H(a,b,c...,x). We want to convert it to Mathematica format (https://www.physik....
3
votes
1answer
69 views

Remove errors from sublists after Excel import

I have a very long list such as: https://pastebin.com/9vYDLsVp At the end of each sublist for some reason I have {,-6}. How can I remove that from each sublist of ...
3
votes
3answers
236 views

Plotting datapoints found in data given in a .txt file

Well, my question is the following: I have a .txt file that consists of the following data: ...
4
votes
3answers
174 views

How to run a whole mathematica notebook within a for loop?

I have some data sets labelled data1.dat, data2.dat, and so on, and I have written a notebook which will import a single ...
2
votes
3answers
83 views

ListPlot3D from Data Fortran file

My .dat file (Fortran) consists of data (x y u) as three columns and I would like to plot the variable "u" against the variables "x" and "y&...
1
vote
1answer
32 views

Correcting delimiter definitions in .csv files

I have a number of .csv files that have a semicolon (;) delimiter rather than comma, and I'm wondering if there is a simple way to change the text in them all. Lets say I have a test file "a.csv&...
3
votes
2answers
110 views

Creating Maps from Shape Files for “Mixed” Labeled Data

Following suggestions from an extremely useful and informative solution to a previous question regarding shape files (Extracting a single layer from a SHP file) by ssch, I have been able to create two ...
0
votes
2answers
51 views

Finding the number of unique solutions in a .txt file

Well, my question is the following: I have a .txt file that consists of the following data: ...
1
vote
0answers
64 views

A glitch with importing a list of lists of polynomials [closed]

Would anybody know how to import a list of lists of polynomials which I exported earlier? ...
6
votes
1answer
185 views

Create a voxelized mesh from an STL mesh file

I would like to create a cubic or 3d grid mesh with a constant size for a surface mesh that represents a hollow torus saved in an STL file. mesh I am import the vertex using: ...
1
vote
0answers
36 views

Export and Import trained neural net

I have trained a neural network and would like to save it to disk. I am using Wolfram version 12.1.1.0 on Windows (64-bit). I have entered the following commands: ...
0
votes
1answer
75 views

Issue Installing Knot Theory

I have been trying to install the Knot Theory package from the knot atlas, but have been unsuccessful. Firstly I tried the command << KnotTheory` but ...
0
votes
0answers
51 views

Import FTP file from ftp server with FTP over TLS (Explicit)

I would like to be able to import/read a file into Mathematica from an ftp server that requires explicit TSL security with anonymous connection. ...
1
vote
2answers
59 views

How to import a (large) .CSV file maintaining its shape (defined by curly brackets)

I'm working on large tables generated with Mathematica, evaluated on different computers. I plan on join the tables on my computer and proceed with the interpolation of the data there contained. The ...
1
vote
0answers
54 views

Parsing raw pixel data as a Wolfram Image

Context. I have a C++ function which receives pixel data (along with width, height, ...
0
votes
1answer
79 views

Strange behavior of Show with picture + points

I have a square image of 1000 x 1000 pixels, and I want to generate a collection of points inside the image. Knowing that the image is a square, I thought of simply generating points in the domain {0,...
0
votes
1answer
42 views

Import and create a hexdump view of file

How would I go about creating a hexdump type of view of an imported binary file? for example, (format is ...
0
votes
0answers
24 views

Why the image is decomposed in three images when exporting to FITS fromat?

I have a large data set which when plotted gives: image = MatrixPlot[data, Frame -> False, PlotLegends -> Automatic] Now I want to export this image in the ...
3
votes
1answer
53 views

Parse a JSON file, but failed

My Problem Some people gave me a JSON file, which is exported from a camera. He asked me to parse the JSON file, and extract the value to each key. However, when I import the JSON file with: ...
1
vote
2answers
91 views

How to use Import to extract data from website?

I would like to extract data of surface properties and grain boundary properties for Cu polymorph #0 from the website: http://crystalium.materialsvirtuallab.org using Mathematica. So far I tried with <...
4
votes
1answer
78 views

Manipulate VTK vertex fields

I have a VTK file that contains several vertex fields, and I'd like to manipulate the view. The objective is to show/hide all vertices whose field match a certain function. For instance, if I have a ...
1
vote
0answers
59 views

Exported plot range of PNG not displayed properly

I am tring to export the plotted graphics as PNG, but its range is not coming properly: ...
4
votes
2answers
171 views

How to import a COVID-19 data table from a website into a Mathematica notebook

This link https://www.worldometers.info/coronavirus/ provides daily cases of COVID-19 across all the countries. Is there an easy way to retrieve this table into a Mathematica notebook? I tried: ...
3
votes
2answers
103 views

How do I import a 1 gig text file by only importing the last 3 lines of every 10 line chunk?

I am trying to get the last three lines of every 10 line chunk into mathematica as a data variable. The text file has 3 columns. For example: ...
12
votes
1answer
537 views

Can Mathematica be used to edit MP3 tags?

Can Mathematica edit mp3 tags? I have a set of files and I'd like to batch process artist, album title, etc. I know other tools exist; I wonder if Mathematica can do it.
5
votes
1answer
75 views

Incomplete web image scraping

Occasionally when I scrape images from a webpage, such as: Import["https://www.freeart.com/gallery/m/mondrian/mondrian.html", "Images"] only a ...
1
vote
0answers
40 views

Mathematica won't show imported excel spreadsheet data [closed]

I have a problem with Mathematica 12.1 Student edition since every time i try to import data from excel with the command ...
0
votes
2answers
59 views

Import and extract certain column and row

I have a problem with importing and extracting 2nd column in my CSV file. I need to have 3 list, the first one first column except for first row, the second will be second column except for 1st row ...
0
votes
0answers
40 views

How to run Facebook Prophet in Mathematica?

I would like to use the Facebook Prophet API for timeseries forecasting in Mathematica. I'm trying to make a function prophetM which takes a list of date, and integer pairs (or a Timeseries object), ...
0
votes
0answers
37 views

Web crawler, where access is needed

I want to make a web crawler and download a bunch of files that are located in different directories on the website. Accessing the files need username and password input as well (the website is https:/...
3
votes
2answers
105 views

How can I read this file?

I have to read and process a file that looks like this: ...
1
vote
0answers
47 views

Passing input from a textfile into a function

I have a text file which is a list of numbers and would like to pass each number in the list as input to a Mathematica function. For example, my text might contain [2, 1, 4], and I would like to pass ...
1
vote
1answer
26 views

Exporting to PDB seems to lose aromaticity

I have a molecule with the following SMILES: ClearAll[sml]; sml = "O=C(NCC1=CC(NC(C2=CN=C3C=CC=CN23)=O)=C(C)C=C1)NC4=CC=CC(F)=C4"; The plot looks as ...
0
votes
1answer
54 views

Trouble when attempting to import a dat resource

I am trying to import the "Patient Medical Data for Novel Coronavirus COVID-19" dataset from the Wolfram Data Repository, but when I import, it shows me just 427036 results instead of the ...
7
votes
0answers
61 views

Realistic and stylistic Image and Video corruption effects

I'd like to produce a video that looks 'corrupted' in some way, ideally like the sorts of MPEG corruptions you see occasionally. See this for examples: https://www.youtube.com/watch?v=i-bz21deEeY At ...
0
votes
2answers
45 views

How to export and import these data

I want to export my_data and then import them back again in exactly the same data structure as the one they had when they were initially generated. ...
1
vote
0answers
46 views

Passing python data types as function arguments

I've a few python data types ...
0
votes
0answers
63 views

Accessing values in a .txt file

I don't have much experience importing data and working with it in Mathematica, so I'm writing to ask for advice. I have the following data: ...
1
vote
0answers
42 views

Importing a local html file fails

Anyone have any idea why this is failing? The file is there. A file in the same (Windows 10) dir called "test.txt" imports exactly as expected. But .HTML files fail without a useful error ...
0
votes
0answers
35 views

Applying same function over a list of variables

I currently have a list of variables in a column in excel, I would like to perform some analysis for each of those variables. ...
0
votes
0answers
30 views

Selective read/write on a mx file

Consider an mx file to which has been saved the following data ...
0
votes
0answers
53 views

Loop function for a list of codes

I have a list of codes that start with importing column D of an excel sheet which has a hyperlink. Then, the code moves onto importing the text version of the hyperlink and further proceeds with ...
2
votes
1answer
83 views

Using java-script code in Mathematica

I have the following HTML file stored on "C:\local.html": ...
0
votes
0answers
47 views

Importing multiple data files into my notebook [duplicate]

I am trying to import several data files all at once into my Mathematica notebook. I want get all of them together by evaluating one expression (perhaps a Do-Loop). ...
0
votes
1answer
26 views

Cannot take DWT of parsed data

I have some data in foo.tsv, and I would like to take the DiscreteWaveletTransform of one column. My data looks like this: ...
0
votes
0answers
76 views

Hidden Metadata in DJI drone .JPG

I have imported a JPG file with MetaInformation (Exif/XMP) however all the available tags are not imported. The JPG is a DJI drone image with meta information as: altitude, YAW, GeoPosition, etc. Some ...

1
2 3 4 5
28