質問編集履歴

1

code表記

2021/07/22 01:08

投稿

ryo182
ryo182

スコア0

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,8 @@
5
5
  for 文にて都度都度、プロットを表示させたいのですが、、
6
6
 
7
7
 
8
+
9
+ ```python
8
10
 
9
11
  df_0 = pd.read_excel('regression vectors.xlsx',index_col=0)
10
12
 
@@ -14,9 +16,11 @@
14
16
 
15
17
  x = df_0.iloc[i]
16
18
 
17
- peaks2, _ = find_peaks(x, prominence=0.1) # BEST!
19
+ peaks2, _ = find_peaks(x, prominence=0.1)
18
20
 
19
21
  plt.plot(peaks2, x[peaks2], "ob"); plt.plot(x); plt.legend(['prominence'])
22
+
23
+ ```
20
24
 
21
25
 
22
26