回答編集履歴

2

2020/08/07 07:30

投稿

kirara0048
kirara0048

スコア1399

test CHANGED
@@ -58,6 +58,6 @@
58
58
 
59
59
  view_as_windows(df['value'].to_numpy(), 3).std(1, ddof=1)
60
60
 
61
- # array([49.21607687, 59.06681716, 8.16496581, 12.47219129])
61
+ # array([60.27713773, 72.34178138, 10., 15.27525232])
62
62
 
63
63
  ```

1

別の方法

2020/08/07 07:30

投稿

kirara0048
kirara0048

スコア1399

test CHANGED
@@ -39,3 +39,25 @@
39
39
  # 5 15.275252
40
40
 
41
41
  ```
42
+
43
+
44
+
45
+ ---
46
+
47
+
48
+
49
+ 別の方法
50
+
51
+
52
+
53
+ ```python
54
+
55
+ from skimage.util import view_as_windows
56
+
57
+
58
+
59
+ view_as_windows(df['value'].to_numpy(), 3).std(1, ddof=1)
60
+
61
+ # array([49.21607687, 59.06681716, 8.16496581, 12.47219129])
62
+
63
+ ```