Time travel and time series analysis with pandas + statsmodels
-
Upload
alexander-hendorf -
Category
Data & Analytics
-
view
317 -
download
3
Transcript of Time travel and time series analysis with pandas + statsmodels
Time Travel and Time Series Analysis with pandas & statsmodels
Alexander C. S. Hendorf @hendorf
PYCON SETTE, Florence, 2016
Alexander C. S. Hendorf
CTO Königsweg GmbH
15+ years in software development
Always love data and new ideas
Mannheim mongoDB meet-up Organizer
mongoDB master, certified mongoDB DBA
EuroPython organizer + program chair
speaker mongoDB world NYC, CEBIT,…
Hobbies: see above
@hendorf
Pandas • data analysis library • simple interface • making data analysis fast, efficient and easy • started by Wes McKinney in 2008 • DataFrame object for data manipulation with integrated indexing (R) • Reshape & pivot data • Merge & join data • high-level building block for doing practical, real world data analysis in Python • database like operations • import pandas as pd
Statsmodels
is a Python module that allows users to explore data, estimate statistical models, and perform statistical tests
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
pd.Series
index
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
pd.DataFrame
1 2 3 4 5 6 7 8 9
pandas Q'n'D
Year
12 Months
February
90% of March
31 31
31 31 31
31 31
30
30
30 30
28
RomanyearusedtostartinMarchandhad10months
2monthstherewas"no"month
solar|topicalyear
quick&funnyexplanation:https://www.youtube.com/watch?v=AgKaHTh-_Gs
?
use case
salesreport27.11.11-01.01.2012
5weeks
4weeks
4weeks
typicalquarter
November
January
DBstoredonlyassoldinmajoritymonth
2nd Call for Proposals reserved for Hot Topics
~first week of June
ADVERTISEMENT
Data Mangling with mongoDB the Right Way
tomorrow@17:15
Alexander C. S. Hendorf
@hendorf