Similarities in pandas and NumPy
Learn about the similarities between pandas and NumPy.
We'll cover the following...
We'll cover the following...
Similar to NumPy
The Series object behaves similarly to a NumPy array. As shown below, both types respond to index operations:
They both have these methods in common:
They also both have a notion of a boolean array. A boolean array is a Series with the same index as the Series we’re working with and has boolean values. It can be used as a mask to filter out items. Normal Python lists ...