Slide 29
Slide 29 text
݅ʹΑΔબ
df.index.month
df.loc[(df.index.month == 1) | (df.index.month == 3)]
array([ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
...
12, 12, 12, 12, 12, 12, 12, 12, 12], dtype=int32)
ϕΫτϧԽ͞Εͨ
ϓϩύςΟΞΫηε
(df.index.month == 1) | (df.index.month == 3)
array([ True, True, True, True, True, True, True,
...
False, False, False, False, False, False], dtype=bool)