March 2019
Intermediate to advanced
640 pages
23h 40m
English
Objectives
In this chapter you’ll:
Learn how arrays differ from lists.
Use the numpy module’s high-performance ndarrays.
Compare list and ndarray performance with the IPython %timeit magic.
Use ndarrays to store and retrieve data efficiently.
Create and initialize ndarrays.
Refer to individual ndarray elements.
Iterate through ndarrays.
Create and manipulate multidimensional ndarrays.
Perform common ndarray manipulations.
Create and manipulate pandas one-dimensional Series and two-dimensional DataFrames.
Customize Series and DataFrame indices.
Calculate basic descriptive statistics for data in a Series and a DataFrame.
Customize floating-point number precision in pandas output formatting.
Outline
Read now
Unlock full access