Ebook IPython Notebook Essentials

IPython Notebook Essentials
IPython Notebook Essentials

Download

THÔNG TIN TÀI LIỆU

Nhà xuất bản Packt Publishing
Tác giả L. Felipe Martins
Số trang 212
Ngày xuất bản 2014
File PDF

NỘI DUNG TÀI LIỆU
Chapter 1: A Tour of the IPython Notebook 7
Getting started with Anaconda or Wakari 8
Installing Anaconda 8
Running the notebook 8
Creating a Wakari account 10
Creating your frst notebook 11
Example – the coffee cooling problem 12
Exercises 22
Summary 22

Chapter 2: The Notebook Interface 23
Editing and navigating a notebook 23
Getting help and interrupting computations 25
The Edit mode 25
The Command mode 28
Cell types 29
IPython magics 33
Interacting with the operating system 37
Saving the notebook 37
Converting the notebook to other formats 38
Running shell commands 39
Running scripts, loading data, and saving data 41
Running Python scripts 41
Running scripts in other languages 43
Loading and saving data 45
The rich display system 47
Images and YouTube videos 47
HTML 49
Summary 52

Chapter 3: Graphics with matplotlib 53
The plot function 54
Adding a title, labels, and a legend 59
Text and annotations 62
Three-dimensional plots 66
Animations 71
Summary 77

Chapter 4: Handling Data with pandas 79
The Series class 79
The DataFrame class 88
Computational and graphics tools 95
An example with a realistic dataset 101
Summary 108

Chapter 5: Advanced Computing with SciPy, Numba,
and NumbaPro 109
Overview of SciPy 109
Advanced mathematical algorithms with SciPy 111
Solving equations and fnding optimal values 111
Calculus and differential equations 117
Accelerating computations with Numba and NumbaPro 128
Summary 138

Appendix A: IPython Notebook Reference Card 139
Starting the notebook 139
Keyboard shortcuts 139
Shortcuts in the Edit mode 139
Shortcuts in the Command mode 140
Importing modules 141
Getting help 141

Appendix B: A Brief Review of Python 143
Introduction 143
Basic types, expressions, and variables and their assignment 143
Sequence types 147
Lists 147
Tuples 150
Strings 151

Be the first to comment

Leave a Reply

Your email address will not be published.

*