Pythonとは • Guido van Rossum: • … The first sound bite I had for Python was, "Bridge the gap between the shell and C.” • So I never intended Python to be the primary language for programmers … It was intended to be a second language for people who were already experienced programmers… • We now have a large community of people using Python as an educational language … These people aren't and may never be professional programmers, but they still find some programming skills useful. • Python's Design Goals (A Conversation with Guido van Rossum, Part II) by Bill Venners 2003/01/20
SciPy2017の様子 • Keynote: Drilling the Chicxulub Impact Structure / Sean Gulick, University of Texas • 恐竜絶滅は単一の隕石の衝突でできた可能性が高いと結論 • データ解析にはPythonを利用
そもそも pandas って何？
pandasとは • データ分析のための高速で使いやすいデータ構造を提供 • 2次元表形式 • Rでいう“data.frame” • Author: Wes McKinney • License: BSD • 語源: PANel DAta System
pandasとは Read csv ﬁle import pandas as pd df = pd.read_csv(‘adult.csv’) df Columns Index Mixed data types Adult Dataset taken from UCI ML Repository Lichman, M. (2013). UCI Machine Learning Repository [http://archive.ics.uci.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science.
pandasとは df[['age', 'marital-status']] Select df.groupby('income')['hours-per-week'].mean() Group by Select Aggregate
コミッタの役割 • Make decisions about: • The overall scope, vision and direction of the project. • Strategic collaborations with other organizations or individuals. • Specific technical issues, features, bugs and pull requests. • The services that are run by the project. • Regular community discussion doesn’t produce consensus.