Split-‐Apply-‐Combine
Strategy[1]
9
[1]
Hadley
Wickham,
h=p://vita.had.co.nz/papers/plyr.pdf
A
B
C
A
B
C
A
B
C
1,000
2,000
3,000
2,000
2,500
4,000
3,000
3,000
5,000
A
1,000
A
2,000
A
3,000
B
2,000
B
2,500
B
3,000
C
3,000
C
4,000
C
5,000
A
2,000
B
2,500
C
4,000
School
Amount
Split
(分離)
Apply
(適用)
Combine
(結合)
Ex.
小学生のおこづかいデータ
mean
10.
著者Wes
McKinney氏にメール
10
Wes
McKinney
@wesmckinn
Cracsman
of
data
tools
and
systems.
Engineering
@cloudera.
Formerly
founder/CEO
of
DataPad.
Created
pandas
and
wrote
Python
for
Data
Analysis.
Tenacious
阿久津と申します。日本でPythonの勉
強会をやっています。いくつか質問に答
えていただけますでしょうか?
いいよ。
11.
Q1.
Best
way
for
Python
beginner
11
Q1.
If
you
have
a
student
who
has
no
experience
in
Python
programming,
how
do
you
tell
him
to
learn
Python?
How
is
like
the
best
way?
(もしPythonの経験のない教え子がいたら、どのように学ぶ
ように伝えますか?ベストの方法は何でしょう?)
A1.
Good
quesion.
This
book
is
pre=y
good.
h=p://learnpythonthehardway.org/
(いい質問だね。この本がいいよ。)
Q2.
Your
book
was
published
three
years
ago.
Is
there
any
big
change
in
Python
for
Data
Analysis?
Do
you
have
a
plan
to
revise
your
book?
(あなたの本は3年前に書かれましたが、Pythonによるデー
タ分析において大きな変化はありますか?改訂の予定はあ
りますか?)
A2.
I
haven't
begun
any
revisions;
I
would
like
to
do
a
revised
version
in
2017
or
so.
(まだ改訂は始めていないよ。
2017年くらいに改訂したいね。)
Q2.
Plan
for
Revision
13
14.
Q3.
While
Python
ver.2
was
recommended
in
your
book,
is
ver.2
sill
be=er
than
ver.3
for
beginners
who
have
just
started
Python
programming?
(あなたの著書ではPython
2.xが薦められていましたが、こ
れからPythonを始めるビギナーにとっても3.xより2.xが良い
でしょうか?)
A3.
If
you
can,
I
would
use
Python
3.4.
The
Anaconda
distribuion
makes
seong
up
a
complete
Python
3.4
environment
fairly
easy;
you
can
google
for
instrucions
(僕だったらPython
3.4を使うね。Anacondaディストリビュー
ションなら超簡単に3.4環境を導入できるよ。ググればインス
トール方法もわかるよ。)
Q3.
Python
2.x
or
3.x?
14
15.
Q4.
Message
for
Our
Club
15
Q4.
Could
you
give
us
a
message
for
our
Python
learner
colleagues?
We
will
be
happy
if
we
could
have
your
idea.
(Pythonを学ぶ仲間たちにメッセージをいただければ、幸い
です。)
A4.
Good
luck
on
your
Python
journey;
I
believe
it
will
be
worth
your
ime.
(君たちのPythonの旅の幸運を祈っているよ。それはきっと
価値のある時間となるはずだよ。)