Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mathematica Data Analysis

You're reading from   Mathematica Data Analysis Learn and explore the fundamentals of data analysis with power of Mathematica

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785884931
Length 164 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Sergiy Suchok Sergiy Suchok
Author Profile Icon Sergiy Suchok
Sergiy Suchok
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. First Steps in Data Analysis FREE CHAPTER 2. Broad Capabilities for Data Import 3. Creating an Interface for an External Program 4. Analyzing Data with the Help of Mathematica 5. Discovering the Advanced Capabilities of Time Series 6. Statistical Hypothesis Testing in Two Clicks 7. Predicting the Dataset Behavior 8. Rock-Paper-Scissors – Intelligent Processing of Datasets Index

Importing data from Mathematica's notebooks

In Mathematica, it is very convenient to transfer the formulas that you have used in other notebooks. This is done using the ImportNotebook function.

For example, let's create a new document using the CreateDocument function:

Importing data from Mathematica's notebooks

We have created a document in which there are only two cells to calculate—the root of 16 and the root of -6. This is a test example to demonstrate the function's capabilities. As a result, we get the following notebook:

Importing data from Mathematica's notebooks

Let's consider import options with the help of the NotebookImport function. In order to import all the notebook's parameters, just call NotebookImport with the "_" parameter:

Importing data from Mathematica's notebooks

In order to convert the values to text, you can use the _->"Text" rule:

Note

Arrows and double square brackets are input with the help of the following combination of keys: Esc - >Esc.

Importing data from Mathematica's notebooks

Let's use the "Input" parameter to get a list of cells with input data:

Importing data from Mathematica's notebooks

To import only...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image