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
1 vote
3 answers
136 views

Converting Wolfram Language Scripts (.wls) into PDFs

I have just discovered the free (as in free beer) Wolfram Engine, coming with a generous licence. After playing with Mathematica for a while, and missing the notebook feature, I would like to generate ...
antonio's user avatar
  • 111
2 votes
0 answers
40 views

Extracting tables from .pdf

Can we construct some automated method for extracting tables from pdfs? I can get decently far by just copy and pasting its content and splitting at newlines but it would be great if it was possible ...
Kvothe's user avatar
  • 4,197
0 votes
0 answers
44 views

Import a file in Mathematica [closed]

How to import a Mathematica file into another Mathematica file as executable? When I tried to import a Mathematica file it imports in a text format of mathematical expressions.
Dargi Shameer's user avatar
1 vote
2 answers
76 views

How to disable Entities in import of PGN Chess data?

Save the following as test.pgn ...
flinty's user avatar
  • 23.9k
2 votes
3 answers
78 views

Convert a string with $N^2$ entries to a rank-$N$ matrix

Suppose we are given a set of numeral data like a string that consists of $N^2$ entries, say $N$ is very large (here $N=8$ for simplicity, but $N$ can be $10^8$...) ...
zeta's user avatar
  • 121
0 votes
0 answers
60 views

Download html file

I want to download the data found on the following page and I am unable to do so. https://resultados.admision.uni.edu.pe/ep1.html I have already tried all the options I find in Mathematica but I can't ...
Emerson Villafuerte's user avatar
1 vote
0 answers
83 views

How to faithfully import all the colour schemes of a Mathamatica SphericalPlot3D into SolidWorks?

Say that we have a list of tuples called "data", where ...
Quantum Kid's user avatar
4 votes
1 answer
72 views

Chemdraw (CDX) import fails to yield complete molecules for implicit alkyl chains

Mathematica has supported Chemdraw file (CDX) import since 12.1. However, there appear to be an error when side chains are defined in an abbreviated fashion (as is common in organic chemistry): ...
Joshua Schrier's user avatar
1 vote
1 answer
108 views

Import in Mathematica does not work

I want to import STL files as boundary element mesh. ...
Lewis's user avatar
  • 11
1 vote
0 answers
55 views

How to import and export on Wolfram Cloud?

I created a CDF document that imports images and exports output results. ...
Hoony's user avatar
  • 1,520
0 votes
0 answers
63 views

Why does the string "\" prevent a graph6 string conversion to a graph?

I input the graph6 string ...
licheng's user avatar
  • 2,005
1 vote
0 answers
50 views

Importing SVG files

I would like to import a bunch of SVG files to my notebook. In my attempt to do so, I have used ResourceFunction["SVGImport"][svgfile]; where "...
Shasa's user avatar
  • 801
1 vote
0 answers
84 views

Importing data from NASA CDF files using Mathematica

At the outset, I would like to emphasize that I do not have any expertise in loading CDF data files in Mathematica. Usually, in MATLAB the CDF files can be viewed and loaded with the help of commands ...
sreeraj t's user avatar
  • 303
0 votes
0 answers
79 views

Don't understand reason for "Incomplete expression; more input is needed" message

I am exporting expressions created in MathType to Mathematica, by copying from the MT screen and using the TraditionalForm[] command. I am getting the "Incomplete expression" error message ...
Alan's user avatar
  • 11
2 votes
2 answers
108 views

Automate Import of files

I have a Directory where I store a number of files of the same type (eg .txt). They contain tabled numeric values. I would like to write a routine to import them automatically and store them in a ...
Luigi's user avatar
  • 1,271
1 vote
2 answers
92 views

How to import many Images in Mathematica?

I have 150 images that I want to import into the Mathematica, and process. I use this code but I get errors. I ran the example for three images. ...
Erfan's user avatar
  • 159
1 vote
0 answers
97 views

How to get a dataset from GitHub?

I want to use the dataset on https://quickdraw.withgoogle.com/data And the dataset is published on GitHub at the following address. https://github.com/googlecreativelab/quickdraw-dataset I want to ...
Hoony's user avatar
  • 1,520
0 votes
1 answer
66 views

Historical data of financial funds

I would like to obtain the historical data of some funds, of which I know the ISIN code. Is there any way to do this with mathematica? For example, this fund here: https://markets.ft.com/data/funds/...
Giorgio Busoni's user avatar
0 votes
0 answers
47 views

Way to download all attachments from yahoo.com

For a long time now I want to download the attachments from my yahoo.con mail, only the files, no text, but in batches, so MMA gets into my mail and downloads every attached file it finds in a folder. ...
zeros's user avatar
  • 2,263
2 votes
2 answers
151 views

Reading the contents of a file into a list

I would like to read the contents of the file.txt into a list of the following form: {1,0,1,12,0,1,0.25,0.012,0,1,0.25,0.026,0,1,0.25,0.057,0,1,0.25,0.090}. How could this be done? In these variants, ...
Mam Mam's user avatar
  • 1,753
5 votes
2 answers
68 views

Where is the new System`ConvertersDump`$extensionMappings?

I used to find the extensions mapping from System`ConvertersDump`$extensionMappings, which gives a mapping like "{"*.3ds" -> "3DS"...}&...
RoderickLee's user avatar
1 vote
2 answers
98 views

How to extract the following data from the file?

Consider the following file. It has the form ...
John Taylor's user avatar
  • 4,681
2 votes
1 answer
78 views

Import fails for Gaussian calculation output file

Mathematica seems to import Gaussian16 calculation output files usually without any troubles. However, with the recent 13.3.0 version, I noticed that some calculation output files are not imported, ...
bhopshang's user avatar
  • 739
0 votes
0 answers
37 views

Turn string with () as function brackets into expression

I have a text file with an equation where all the brackets are formatted as (). For example I read in the equation 2*(Re(a)+Im(b)) as a string. Now I am wondering if I can make this into an expression ...
PhPanda's user avatar
3 votes
2 answers
179 views

Importing a text file of values and converting it to table

I just started using Mathematica. I got some output in a txt file from some computations in Pari/GP which looks like this: $$ [1,2,3,4; 5,6,7,8]$$ Here I want to import the data into Mathematica and ...
Aditya Ghosh's user avatar
1 vote
0 answers
44 views

Registering custom importer. ImportExport`RegisterImport is not recognized

I tried to follow the original example from Wolfram Docs to design my own Import-er for the custom format I have. See the original example here So here is the code <...
Kirill Vasin's user avatar
  • 1,175
1 vote
2 answers
55 views

How to distinguish these strings when extracting parameters?

Consider the following list: ...
John Taylor's user avatar
  • 4,681
1 vote
0 answers
36 views

Is it possible to `Import` into Mathematica models from databases like the Biomodels DataBase?

This is probably not a Mathematica question, but maybe I will get lucky. The https adress "https://www.ebi.ac.uk/biomodels/BIOMD0000000872" contains many files, the most relevant probably ...
florin's user avatar
  • 1,632
3 votes
4 answers
211 views

Build a region from an unsorted set of points (Imported from a .DXF file)

Please consider trying to download the following .dxf files : DXF File - HEA DXF File - UNP DXF File - RRW Context : Every file contains a drawing of a particular type of steel profile used in civil ...
Jocelyn Minini's user avatar
2 votes
2 answers
194 views

Import complex numbers from a CSV file created in MATLAB

I export a simple CSV file created in MATLAB with complex numbers, such as: 0.1+2.1i,0.9+0.13i,0.02+0.3i I would like to import it into Mathematica with the "i" recognized as the imaginary ...
Philipp's user avatar
  • 115
0 votes
1 answer
61 views

Having issues creating rules from a CSV import

I'm importing a CSV file with two columns. I've done this with other files, but this one is causing issues when trying to create rules to associate IDs with the titles. Here's a sample of the ...
Sam B's user avatar
  • 159
2 votes
2 answers
155 views

How to import, read and convert a .bib to .csv format?

I have a document in .bib format, namelad by savedrecs1.bib, obtained from Web of Science. The document have a set of reference, of the type: ...
SAC's user avatar
  • 1,335
0 votes
0 answers
10 views

TagLib error while Importing files?

I am using Mathematica to import some flac files.These files will be imported by a script multiple times.There is an TagLib error on one of the files on the second import of it.The first import though ...
Alexander's user avatar
1 vote
2 answers
98 views

Importing an unusually formatted text file and converting to CSV

I have some data that looks like: ...
apg's user avatar
  • 2,027
1 vote
0 answers
68 views

Bug in Interpreter with DelimitedSequence and alternatives?

In the context of this question I tried setting up an interpreter that converts a string to a list of numbers, while converting "NA" to ...
Roman's user avatar
  • 46.2k
0 votes
0 answers
18 views

How to import output from a dynamic Manipulate in NB1 to NB2?

I have the following Code which works fine: ...
Tugrul Temel's user avatar
  • 5,488
0 votes
0 answers
61 views

Unable to use a function from Get with Encode

I am trying to create a proprietary function as discussed in this link: How to distribute proprietary Mathematica code So I create a function and dump it into a file ...
IntroductionToProbability's user avatar
1 vote
1 answer
66 views

I have to import an excel-file into Wolfram Mathematica and add specific rows and columns with each other

I have an excel file some dates, countries, namely: "Austria", "Belgium", "Bulgaria", "Croatia", "Cyprus", "Czechia", "Denmark", &...
Anas Butt Hussain's user avatar
3 votes
1 answer
174 views

Direct Import Remote File via SSH without Copying in Windows

Is there any option to directly import to a Windows-driven Mathematica kernel a file from a remote server without copying it on hard drive? Right now I'm using ...
Lechuu's user avatar
  • 484
3 votes
1 answer
316 views

How to import a variable from one notebook to another notebook?

I am a new user of Mathematica. I want to import a variable from notebook-1 to notebook-2 where I am currently using. I have searched for Mathematica repository but unfortunately I could not find an ...
Akbar Samiev's user avatar
0 votes
0 answers
36 views

How do I import an image from the Windows file system in Mathematica Online?

I have an image file named forest.jpg in the C:\Temp directory. I am running Windows Pro 11 Here's what I tried in a new notebook in Wolfram Mathematica Online image = Import["C:\Temp\forest.jpg&...
Sudip Chakraborty's user avatar
0 votes
1 answer
82 views

Solve problems from a txt or pdf file

I have tried in vain to recover problems from a flat file and from a pdf and pass them through the reduce option and have it solve the exercises one by one in batches. Any idea how to achieve it? The ...
zeros's user avatar
  • 2,263
1 vote
2 answers
67 views

How to make lists all the same length by automatically removing every second element?

I have 20 files of matrices which all contain the same kind of data. I can import and take the single column I need out of every file into a list. I need to average each of the 20 file's lists ...
Claudia's user avatar
  • 31
0 votes
0 answers
68 views

How to take an average of certain columns from multiple files?

I have many text files of tables, 300 rows long and 5 columns across. I can import all the files together as they're all named similarly. I would like to average column 2 of every file together, ...
Claudia's user avatar
  • 31
0 votes
0 answers
25 views

How do you save and load a Mathematica object (DataDistribution)? [duplicate]

How do I export and successfully reimport a DataDistribution (or other Mathematica object)? I'm working with an analysis script to run in a cron job regularly. Building the distribution takes some ...
kernel density's user avatar
0 votes
0 answers
31 views

Does Readlist give maximum its speed?

Trying to understand if ReadList can be seed-up. I have a text file with columns of strings and numbers, some of numbers are in Fortan form. To import that in ...
LittleCat1's user avatar
1 vote
1 answer
47 views

Extracting nth value from an imported text file [closed]

I'm importing 100 of a specific file, whose format isn't supported by Mathematica. The file imports as a text file fine though by the below commands: ...
Schaef's user avatar
  • 163
3 votes
2 answers
130 views

How to correctly identify a series of adjacency matrices in a text?

I would like to read the strongly regular graphs on at most 64 vertices from http://www.maths.gla.ac.uk/~es/srgraphs.php ...
licheng's user avatar
  • 2,005
1 vote
0 answers
33 views

How to import a large data file without having the contents printed to the screen? [closed]

I have a long, 3-column, data file "sdat1". When I write mydata = Import["/Users/prowat/Desktop/Mydirectory/sdat1", "Table"] Mathematica prints out the whole contents, ...
Peter R's user avatar
  • 21
2 votes
1 answer
85 views

How to import GraphML with a bad DTD URL?

Has the GraphML standard been updated? I downloaded the Rome database from the link. The files in it are stored in the "GraphML" format. However, I am ...
licheng's user avatar
  • 2,005

1
2 3 4 5
32