Introduction To Pandas Indexes and Operations
In the previous blog post, we went over the two main panda’s data structures: Series and Dataframe. In this blog post, we are going to take things a step further and introduce you to Panda’s indexes and the operations you can perform on them.
First, let’s initial a series with a character-based index (which we used in the previous blog post)
One very useful feature is that indexes can be used the same way list index/numpy array indexes, except with non-integer values:
They also support list/array like slicing, but again, on non-integer values: