Skip to Content
NumPy Essentials
book

NumPy Essentials

by Jaidev Deshpande, Leo (Liang-Huan) Chin, Tanmay Dutta, Shane Holloway
April 2016
Beginner content levelBeginner
156 pages
3h 23m
English
Packt Publishing
Content preview from NumPy Essentials

Summary

In this chapter, we covered some basics of the NumPy ndarray object. We studied some elementary ways of creating NumPy arrays. We also took a look at the differences between copies and views of arrays and how these can affect using indexing and slicing. We saw the subtle differences between the memory layouts offered by NumPy. We are now equipped with the basic vocabulary of the ndarray object and can get started on the core functionality of NumPy. In the next chapter, we will explore more details of ndarray and show you some of them using certain tricks and tips (universal functions and shape manipulation) to make your NumPy script speed up!

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SciPy and NumPy

SciPy and NumPy

Eli Bressert
Python Distilled

Python Distilled

David M. Beazley

Publisher Resources

ISBN: 9781784393670Supplemental Content