Pandas is the Swiss-Multipurpose Knife for Data Analysis in Python. In this talk we will look deeper into how to gain productivity utilising Pandas powerful indexing and make advanced analytics a piece of cake.
1. Neat Analytics with Pandas
A Closer Look at Pandas Indexing
Alexander C. S. Hendorf
@hendorf
2. Alexander C. S. Hendorf
Königsweg GmbH
Strategic data consulting for startups and the industry.
EuroPython & PyConDE
Organisator + Programm Chair
mongoDB master, PSF managing member
Speaker mongoDB days, EuroPython, PyData…
@hendorf
3. Today
Closer Look at Indexes
- Catch up on Pandas indexing
- Accessing data using the index
- Index Types
- MultiIndex
- Closer look at DateTimeIndex and Resampling
4.
5.
6.
7.
8.
9. Structure: Index
-the label of a series is usually called index
-automatically created if not given
-can be reset or replaced
-immutable ndarray implementing an ordered, sliceable set
-can only contain hashable objects
-one or more dimensions
-may contain a value more than once (NOT UNIQUE!)
45. Resampling
-H hourly frequency
-T minutely frequency
-S secondly frequency
-L milliseonds
-U microseconds
-N nanoseconds
-D calendar day frequency
-W weekly frequency
-M month end frequency
-Q quarter end frequency
-A year end frequency
- B business day frequency
- C custom business day frequency (experimenta
- BM business month end frequency
- CBM custom business month end frequency
- MS month start frequency
- BMS business month start frequency
- CBMS custom business month start frequency
- BQ business quarter endfrequency
- QS quarter start frequency
- BQS business quarter start frequency
- BA business year end frequency
- AS year start frequency
- BAS business year start frequency
- BH business hour frequency
46. Extra discounts for
students & post docs
#16
180+sessions 18free
trainings
panels open
spaces
5dtalks &
trainings
2dsprints
beginners’ day
Tickets start @ 375€
Rimini
. Venice !
Bologna ! ✈ .
Florence ! . #
$
Rome ! .
Armin Rohnacher • Katharine Jarmul • Tracy Osborn
Jan Willem Tulp • Aisha Bello & Daniele Procida
interactive
sessions