MISSION 510
NumPy Datatypes
In the previous mission, we learned how to work with CSV data using NumPy. In this mission, we'll learn about datatypes in NumPy.
In particular, you'll:
- Learn what datatypes are available in NumPy.
- Learn about ndarrays' limitations of holding only one type of data.
- How to set the datatype of an ndarray.
- How to evaluate the memory consumption of an ndarray.
- Learn about the limitations of fixed-bit length number representations.
As with all Dataquest missions, this is an interactive learning experience. You'll be writing real Python code and using NumPy in our browser-based coding environment so there's no setup and no obstacles between you and learning!
Objectives
Mission Outline
- Introduction
- Fixed NumPy Datatypes
- Finding the Datatype
- Ndarray from Mixed Lists
- Fixed-Length Bit Representations
- Memory Consumption
- Arithmetic Overflow
- Float Limitations
- Calculating Memory Requirements
- Next Steps
Course Info:
Intermediate
This is part of our NumPy for Data Engineers course. View Details.
This course includes five missions. It is the ninth course in the Data Engineer path.