The NumPy extract()
function allows us to extract items from an array based on a condition. This function is similar to the where()
function we encountered in Chapter 3, Getting Familiar with Commonly Used Functions. The special nonzero()
function selects non-zero elements.
NumPy: Beginner's Guide
By :
NumPy: Beginner's Guide
By:
Overview of this book
Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
NumPy Quick Start
Beginning with NumPy Fundamentals
Getting Familiar with Commonly Used Functions
Convenience Functions for Your Convenience
Working with Matrices and ufuncs
Moving Further with NumPy Modules
Peeking into Special Routines
Assuring Quality with Testing
Plotting with matplotlib
When NumPy Is Not Enough – SciPy and Beyond
Playing with Pygame
Pop Quiz Answers
Additional Online Resources
NumPy Functions' References
Index
Customer Reviews