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

Filter by
Sorted by
Tagged with
2 votes
1 answer
66 views

How to Import MusicXML Files?

Are there any undocumented or third-party packages or paclets for importing MusicXML? https://github.com/w3c/musicxml/releases
user5601's user avatar
  • 3,625
1 vote
0 answers
37 views

How to import a reference to a date in Excel without becoming a DateObject

The most basic example, Excel cell A1 has a date, e.g. 12/12/2023 and cell A2 has the formula =A1, that reference in A2 ...
Sander's user avatar
  • 1,876
3 votes
5 answers
172 views

Importing Specific Data from a Text File

I am quite new to Mathematica. I have a text file that upon importing has a repetitive structure with characters included. I need to extract only the following in numbers only (no letters, dash lines, ...
LollyPop's user avatar
2 votes
0 answers
63 views

How to convert the <table> element into Grid

I got the html source code for this element for this page in Wikipedia: ...
yode's user avatar
  • 26.8k
0 votes
0 answers
30 views

Coverting .nb file code content to string type using NotebookImport

For my work I need to import the notebook and get all the contents from the code cell. For this task I chose ...
ordenarion's user avatar
2 votes
1 answer
94 views

How to read multiple files from a directory and the text files from those files?

I have the following files names in a directory: ...
Delaram Nematollahi's user avatar
3 votes
1 answer
92 views

How to Convert WLSymbolFactory to Python String?

I'm trying to simulate with python and Mathematica, Python need to generate and save some pictures to the directory of current mma notebook, I know the function that ...
Yao Li's user avatar
  • 111
3 votes
0 answers
48 views

How to import huggingface dataset files?

The .hf file from HuggingFace's datasets library is a very popular format: https://github.com/huggingface/datasets. Is there an easy way to import these from either files on disk or their webportal?
user5601's user avatar
  • 3,625
5 votes
0 answers
129 views

How to import PDF content with sub/superscripts?

Is there any way to import text containing superscripts in PDFs correctly to plaintext? For example, ...
user5601's user avatar
  • 3,625
0 votes
0 answers
46 views

Unable to import mp4 video file

I'm running Mathematica 14.0 on a 2021 MacBook Pro (Apple M1 Max chip with 64 GB memory). I'm attempting to import an mp4 video file using the Import command. The code runs and produces a video window ...
jparm's user avatar
  • 1
0 votes
0 answers
36 views

Mathematica Import and orphaned file

I am having trouble with the orphaned files in the cluster. I am using Mathematica in the supercomputer cluster for some reason. I am producing orphaned files, which means that the files are deleted ...
PhysicsStudy's user avatar
0 votes
0 answers
41 views

Problem Formatting Imported URL Plaintext

I created a simple Wolfram Cloud API that Imports[] a URL and returns the Plaintext: ...
MSC02476's user avatar
  • 699
2 votes
2 answers
139 views

Failed to retrieve raw data from importing InterpolatingFunction derived from NDSolve

I tried numerically solving a set of time-dependent PDEs with variables {u, v, w} by NDSolve over 2 regions with 2D grids, ...
dopey's user avatar
  • 63
0 votes
1 answer
107 views

Removing empty values after importing CSV file

I am trying to import a CSV file with the following structure: the 1st column has 15 values, the 2nd column has 10 values, and 3rd column has 15 values. But when I import and try to access the 2nd ...
a019's user avatar
  • 867
1 vote
0 answers
76 views

Importing equations with subscripts from LaTeX and solving them [closed]

Here is a simple system of equations, copied from LaTeX: ...
florin's user avatar
  • 1,798
2 votes
0 answers
37 views

Weird behaviour of Image`ImportExportDump`ImageReadPNG

Here is the problematic code, ...
matheorem's user avatar
  • 17.2k
1 vote
0 answers
61 views

How to Parse Binary .STL File Created on Ancient 32-bit Architecture

Import[fileName,"STL"] returns $Failed The file format is so simple that one can calculate the number of triangles in the file by counting the number of BinaryReads to reach EndOfFile. https:...
Stewart Dickson's user avatar
1 vote
0 answers
60 views

Speed limitations when importing files from .zip archive

I have .m files with a total size of ~500 MB. Their import is really fast, within less than 1 second. In contrast, I may pack them into a .zip archive. The importing then is much slower, ~20 s. ...
John Taylor's user avatar
  • 5,827
0 votes
1 answer
120 views

Generate the full mesh of the room model

I want to import a 3d model to create a complete mesh of an interior model. ...
Lewis's user avatar
  • 11
1 vote
3 answers
162 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
74 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,491
1 vote
2 answers
79 views

How to disable Entities in import of PGN Chess data?

Save the following as test.pgn ...
flinty's user avatar
  • 25.5k
3 votes
3 answers
87 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
  • 251
0 votes
0 answers
67 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
86 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
95 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
123 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
86 views

How to import and export on Wolfram Cloud?

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

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

I input the graph6 string ...
licheng's user avatar
  • 2,039
1 vote
0 answers
61 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
  • 1,043
1 vote
0 answers
94 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
114 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
112 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,301
1 vote
2 answers
108 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
  • 169
1 vote
0 answers
220 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 ...
Milk's user avatar
  • 1,718
1 vote
1 answer
83 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
52 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
158 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,863
5 votes
2 answers
70 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
99 views

How to extract the following data from the file?

Consider the following file. It has the form ...
John Taylor's user avatar
  • 5,827
2 votes
1 answer
127 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
39 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
  • 101
3 votes
2 answers
212 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
47 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,245
1 vote
2 answers
58 views

How to distinguish these strings when extracting parameters?

Consider the following list: ...
John Taylor's user avatar
  • 5,827
1 vote
0 answers
38 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,798
3 votes
4 answers
217 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
229 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 Strasberg's user avatar
0 votes
1 answer
70 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
281 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

1
2 3 4 5
32