From the course: Python Data Analysis

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

NumPy overview

NumPy overview - Python Tutorial

From the course: Python Data Analysis

Start my 1-month free trial

NumPy overview

- [Instructor] In this chapter, we introduce NumPy, a third-party package for Python that extends the language with multi-dimensional arrays that are fast, memory-efficient, and that can manage very large data sets. NumPy is an important part of the Python ecosystem. It has become a fundamental package for data analysis, and for any kind of mathematical application with Python. Let's talk about how NumPy arrays are different from Python containers, such as lists. Python variables are often described as labels. They are not little boxes in computer memory ready to receive a value. Rather, the values are independent objects with their own space in memory, and Python variables are labels or names that are attached to the values. So you can have more than one variable, referring to the same object. It's a very flexible mechanism, and it makes it possible to have lists and dictionaries with heterogenous elements. However…

Contents