7 Array-Oriented Programming with NumPy

Objectives

In this chapter you’ll:

  • Learn what arrays are and how they 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.165.86