Free Sample
+ Collection

Learning IPython for Interactive Computing and Data Visualization

Cyrille Rossant

IPython provides a rich architecture for interactive computing, and as a Python developer you can take advantage of this practical hands-on guide to make yourself an expert. Covers numerical computing, data analysis, and more.
RRP $17.99
RRP $29.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782169932
Paperback138 pages

About This Book

  • A practical step-by-step tutorial which will help you to replace the Python console with the powerful IPython command-line interface
  • Use the IPython notebook to modernize the way you interact with Python
  • Perform highly efficient computations with NumPy and Pandas
  • Optimize your code using parallel computing and Cython

Who This Book Is For

This book is for Python developers who use Python as a scripting language or for software development, and are interested in learning IPython for increasing their productivity during interactive sessions in the console. Knowledge of Python is required, whereas no knowledge of IPython is necessary.

Table of Contents

Chapter 1: Getting Started with IPython
Installing IPython and the recommended packages
Ten IPython essentials
Chapter 2: Interactive Work with IPython
The extended shell
The extended Python console
Using the IPython notebook
Chapter 3: Numerical Computing with IPython
A primer to vector computing
Creating and loading arrays
Working with arrays
Advanced mathematical processing
Chapter 4: Interactive Plotting and Graphical Interfaces
Figures with Matplotlib
Advanced figures and graphics
Graphical User Interfaces (GUI)
Chapter 5: High-Performance and Parallel Computing
Interactive task parallelization
Using C in IPython with Cython
Chapter 6: Customizing IPython
IPython profiles
IPython extensions
Rich representations in the frontend
Embedding IPython
Final words

What You Will Learn

  • Debug your code from the IPython console
  • Benchmark and profile your code from IPython
  • Perform efficient vectorized computations with NumPy
  • Analyze data tables with Pandas
  • Create visualizations with Matplotlib
  • Parallelize your code easily with IPython
  • Customize IPython and create your own magic commands
  • Accelerate your Python code using dynamic C compilation with Cython

In Detail

You already use Python as a scripting language, but did you know it is also increasingly used for scientific computing and data analysis? Interactive programming is essential in such exploratory tasks and IPython is the perfect tool for that. Once you’ve learnt it, you won’t be able to live without it.

"Learning IPython for Interactive Computing and Data Visualization" is a practical, hands-on, example-driven tutorial to considerably improve your productivity during interactive Python sessions, and shows you how to effectively use IPython for interactive computing and data analysis.

This book covers all aspects of IPython, from the highly powerful interactive Python console to the numerical and visualization features that are commonly associated with IPython.

You will learn how IPython lets you perform efficient vectorized computations, through examples covering numerical simulations with NumPy, data analysis with Pandas, and visualization with Matplotlib. You will also discover how IPython can be conveniently used to optimize your code using parallel computing and dynamic compilation in C with Cython.

"Learning IPython for Interactive Computing and Data Visualization" will allow you to optimize your productivity in interactive Python sessions.


Read More