PyTrix will now be a weekly series where I present cool things that can be done in Python that are useful for Data Scientist. The last PyTrix tutorial can be found in the link below…

What is a Numpy Array?
First, let’s start by explaining Numpy. Numpy is the de-facto library for scientific programming and is so commonly used amongst practitioners that it has its own standard when we import it — import numpy as np .
The Numpy framework provides us with a high-performance multidimensional array object, as well as useful tools to manipulate the arrays. On that note, we can describe numpy arrays as a grid of the same type values that is indexed via a tuple of non-negative integers.
We distinguish the number dimensions by the rank of the array. Additionally, the shape of the array is a tuple of integers that represent the size of the array along each of its dimensions.

#pytrix-series #python #data-science #towards-data-science #programming

Working with Numpy Arrays: Indexing
3.55 GEEK