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
1,601 questions
3
votes
1
answer
103
views
How to preserve tooltips for SVG Maps created by Mathematica?
I want to produce an SVG map by Mathematica that preserves tooltips that are in Mathematica so that they are also in the SVG. The problem is that the tooltips do not export.
Here is an example:
That ...
0
votes
0
answers
29
views
Importing a two-column file to plot its data [duplicate]
Suppose I have a number of data files, each of which has two columns. The first column is the x-coordinate data, and the second column is the y-coordinate data. What format can I use in Import to ...
1
vote
2
answers
135
views
Importing an Excel file (.xlsx) containing time data
I have a .xlsx file (Microsoft Excel file) called myWorkbook.xlsx. This file has two sheets, named ...
3
votes
0
answers
108
views
Is there a way to import and export Mermaid diagrams in Mathematica 14.3?
With the release of Mathematica 14.3 there is now support for Markdown. I was wondering if this also means that there is a way to import Mermaid diagrams. In particular, can a Mermaid diagram be ...
3
votes
2
answers
215
views
How to delete line breaks in imported data
I am having a lot of issues trying to import data into mathematica and then clean the data so that mathematica recognises it. The data is a set of permutations, which I would like to express as ...
2
votes
3
answers
370
views
Why does importing a .dot graph file cause \l and \r to become \n?
When I import a DOT file (or a string in that format) with labels containing the exact characters \\l or \\r, they are displayed ...
2
votes
1
answer
188
views
How can I import only part of a huge .mx file (e.g., first 1000 elements)?
I have a huge data.mx file (~5GB). Importing it is really slow — is there a way to import just part of it?
The file contains a large list, and for example, I want ...
5
votes
1
answer
181
views
*.STL files from using IMPORT command are not passing SolidRegionQ test
My goal is to create models in CAD or similar software and importing into MMA for analysis. I have created *.STL files using Blender, FREECAD, GMSH, etc.. none of them pass the SolidRegionQ test to ...
2
votes
0
answers
96
views
Is it possible to import file and keep it on Mathematica notebook? [duplicate]
Sometimes I import some file and do something with it but when sending it to other people, it's annoying because I must send the files separately and they have to edit file path, etc. Is it possible ...
4
votes
1
answer
397
views
Mathematica frequently fails to import seemingly valid JSON
When importing JSON through APIs using Import[endpoint,"JSON"], Import[endpoint,"RawJSON"], or ...
1
vote
1
answer
90
views
How to parse out a word's position in a data set [closed]
I'm trying to find better ways to import data. My data set is a CSV that contains a parameters at the end of the file. For example in this two part list I want to find the position at which the word &...
8
votes
3
answers
377
views
How to import one sheet from a spreadsheet directly into a Tabular?
I have a spreadsheet (.xlsx) with multiple worksheets. I want one worksheet as a Tabular with the proper column headers. Currently I use Import to produce a list of lists and use Tabular to convert it ...
6
votes
2
answers
191
views
Is there a simple way to import numbers with leading dollar signs?
I really like the new Tabular functionality. It has inspired me to process data in a new way. I am trying to import data from a brokerage which will export to CSV. The data can contain currency values ...
2
votes
0
answers
88
views
How to export/import an object from external mathematicka package?
I'm currently struggling with saving the xCoba tensor from the xAct package to a file. When I use the Export command, the tensor appears to be correctly saved to a .txt file, preserving all its ...
4
votes
5
answers
416
views
Import in 14.2 converts DateString to DateObject from .csv
14.1
data = Import["file.csv"]
data[[2]]
{"2019-01-09T01:00:00+02:00", 1.276, 1.2782, 1.2757, 1.2779, 0.0019, 0.0025, 0.0022, -0.0003}
14.2
...