回答編集履歴
1
修正
test
CHANGED
@@ -38,8 +38,6 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
df = df.set_index('date')
|
42
|
-
|
43
41
|
df2 = df.diff()
|
44
42
|
|
45
43
|
df2['PM'] = df2.apply(lambda x: int(x['low']>0)-int(x['low']<0), axis=1)
|