# NumPy Cookbook电子书

75人正在读 | 0人评论 9.8

• 读书简介
• 目录
• 累计评论(0条)
• 读书简介
• 目录
• 累计评论(0条)
Written in Cookbook style, the code examples will take your Numpy skills to the next level. This book will take Python developers with basic Numpy skills to the next level through some practical recipes.

NumPy Cookbook

NumPy Cookbook

Credits

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Customer support

Errata

Piracy

Questions

1. Winding Along with IPython

Introduction

Installing IPython

How to do it...

How it works...

Using IPython as a shell

How to do it...

How it works...

How to do it...

How it works...

Installing Matplotlib

How to do it...

Running a web notebook

How to do it...

How it works...

Exporting a web notebook

How to do it...

Importing a web notebook

How to do it...

Configuring a notebook server

How to do it...

How it works...

Exploring the SymPy profile

How to do it...

2. Advanced Indexing and Array Concepts

Introduction

Installing SciPy

How to do it...

How it works...

Installing PIL

How to do it...

Resizing images

How to do it...

How it works...

Creating views and copies

How to do it...

How it works...

Flipping Lena

How to do it...

Fancy indexing

How to do it...

How it works...

Indexing with a list of locations

How to do it...

Indexing with booleans

How to do it...

How it works...

Stride tricks for Sudoku

How to do it...

How it works...

How to do it...

3. Get to Grips with Commonly Used Functions

Introduction

Summing Fibonacci numbers

How to do it...

How it works...

Finding prime factors

How to do it...

How it works...

Finding palindromic numbers

How to do it...

How it works...

There's more...

How to do it...

How it works...

Discovering a power law

How to do it...

How it works...

How to do it...

How it works...

How to do it...

How it works...

Sieving integers with the Sieve of Erasthothenes

How to do it...

4. Connecting NumPy with the Rest of the World

Introduction

Using the buffer protocol

How to do it...

How it works...

Using the array interface

How to do it...

How it works...

Exchanging data with MATLAB and Octave

How to do it...

Installing RPy2

How to do it...

Interfacing with R

How to do it...

Installing JPype

How to do it...

Sending a NumPy array to JPype

How to do it...

How it works...

How to do it...

Deploying NumPy code in the Google cloud

How to do it...

How it works...

Running NumPy code in a Python Anywhere web console

How to do it...

How it works...

Setting up PiCloud

How to do it...

How it works...

5. Audio and Image Processing

Introduction

How to do it...

How it works...

Combining images

How to do it...

How it works...

Blurring images

How to do it...

How it works...

Repeating audio fragments

How to do it...

How it works...

Generating sounds

How to do it...

How it works...

Designing an audio filter

How to do it...

How it works...

Edge detection with the Sobel filter

How to do it...

How it works...

6. Special Arrays and Universal Functions

Introduction

Creating a universal function

How to do it...

How it works...

Finding Pythagorean triples

How to do it...

How it works...

Performing string operations with chararray

How to do it...

How it works...

How to do it...

How it works...

Ignoring negative and extreme values

How to do it...

How it works...

Creating a scores table with recarray

How to do it...

How it works...

7. Profiling and Debugging

Introduction

Profiling with timeit

How to do it...

How it works...

Profiling with IPython

How to do it...

How it works...

Installing line_profiler

How to do it...

Profiling code with line_profiler

How to do it...

How it works...

Profiling code with the cProfile extension

How to do it...

Debugging with IPython

How to do it...

How to do it...

Debugging with pudb

How to do it...

8. Quality Assurance

Introduction

Installing Pyflakes

How to do it...

Performing static analysis with Pyflakes

How to do it...

How it works...

Analyzing code with Pylint

How to do it...

How it works...

Performing static analysis with Pychecker

How to do it...

Testing code with docstrings

How to do it...

How it works...

Writing unit tests

How to do it...

How it works...

Testing code with mocks

How to do it...

How it works...

Testing the BDD way

How to do it…

How it works...

9. Speed Up Code with Cython

Introduction

Installing Cython

How to do it...

Building a Hello World program

How to do it...

How it works...

Using Cython with NumPy

How to do it...

How it works...

Calling C functions

How to do it...

How it works...

Profiling Cython code

How to do it...

How it works...

Approximating factorials with Cython

How to do it...

How it works...

10. Fun with Scikits

Introduction

Installing scikits-learn

How to do it...

How to do it...

Clustering Dow Jones stocks with scikits-learn

How to do it...

How it works...

Installing scikits-statsmodels

How to do it...

Performing a normality test with scikits-statsmodels

How to do it...

How it works...

Installing scikits-image

How to do it...

Detecting corners

How to do it...

How it works...

Detecting edges

How to do it...

Installing Pandas

How to do it...

Estimating stock returns correlation with Pandas

How to do it...

How it works...

How to do it...

How it works...

Resampling time series data

How to do it...

How it works...

Index

01

Jaibeer Malik
￥103.99
02

Astra Taylor
￥97.34
03

### Mastering Docker - Second Edition￥174.00

Russ McKendrick; Scott Gallagher
￥174.00
04

Romeo Kienzler
￥174.00
05

￥138.00
06

Kunal Chowdhury
￥174.00
07

### Rust Cookbook￥156.00

Vigneshwer Dhinakaran
￥156.00
08

Umesh Ram Sharma
￥156.00
09

### Python Social Media Analytics￥174.00

Siddhartha Chatterjee; Michal Krystyanczuk
￥174.00
10

Kirill Shirinkin
￥104.00
• 关注我们

最受欢迎的阅读产品

关注我们：

• 关于我们

欢迎反馈宝贵意见给我们

客服书吧：当当云阅读问答