質問編集履歴
2
BAのcode
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
### 該当のソースコード
|
61
|
+
### 該当のソースコード BAのコード
|
62
62
|
|
63
63
|
|
64
64
|
|
@@ -112,45 +112,35 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
+
All_Data = []
|
115
116
|
|
117
|
+
for i in AnalysisObject_files:
|
116
118
|
|
117
|
-
d
|
119
|
+
df = identification_filetype(i)
|
118
120
|
|
121
|
+
df1 = Convert_Onedimensional_Array(df)
|
119
122
|
|
120
|
-
|
121
|
-
fig, axes = plt.subplots(nrows=10, ncols=10)
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
for i in range(10):
|
126
|
-
|
127
|
-
for j in range(10):
|
128
|
-
|
129
|
-
ax = axes[i, j]
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
for csvpath in filepath:
|
134
|
-
|
135
|
-
df = identification_filetype(csvpath)
|
136
|
-
|
137
|
-
df1 = Convert_Onedimensional_Array(df)
|
138
|
-
|
139
|
-
|
123
|
+
All_Data.append(df1)
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
plt.tight_layout()
|
144
|
-
|
145
|
-
plt.show()
|
146
124
|
|
147
125
|
|
148
126
|
|
149
127
|
|
150
128
|
|
151
|
-
|
129
|
+
fig, axes = plt.subplots(nrows=10, ncols=10)
|
152
130
|
|
153
131
|
|
132
|
+
|
133
|
+
for data, ax in zip(All_Data, axes.ravel()):
|
134
|
+
|
135
|
+
ax.hist(data)
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
plt.tight_layout()
|
142
|
+
|
143
|
+
plt.show()
|
154
144
|
|
155
145
|
```
|
156
146
|
|
1
再度実装したコードに書き直し
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
### 該当のソースコード
|
61
|
+
### 該当のソースコード_二重for文を回す
|
62
62
|
|
63
63
|
|
64
64
|
|
@@ -73,6 +73,8 @@
|
|
73
73
|
import pandas as pd
|
74
74
|
|
75
75
|
import matplotlib.pyplot as plt
|
76
|
+
|
77
|
+
import seaborn as sns
|
76
78
|
|
77
79
|
|
78
80
|
|
@@ -116,23 +118,25 @@
|
|
116
118
|
|
117
119
|
|
118
120
|
|
119
|
-
for csvpath in filepath:
|
120
|
-
|
121
|
-
|
121
|
+
fig, axes = plt.subplots(nrows=10, ncols=10)
|
122
|
-
|
123
|
-
df1 = Convert_Onedimensional_Array(df)
|
124
122
|
|
125
123
|
|
126
124
|
|
127
|
-
|
125
|
+
for i in range(10):
|
128
126
|
|
129
|
-
for
|
127
|
+
for j in range(10):
|
130
128
|
|
131
|
-
ax = fig.add_subplot(10, 10, i)
|
132
|
-
|
133
|
-
ax
|
129
|
+
ax = axes[i, j]
|
134
130
|
|
135
131
|
|
132
|
+
|
133
|
+
for csvpath in filepath:
|
134
|
+
|
135
|
+
df = identification_filetype(csvpath)
|
136
|
+
|
137
|
+
df1 = Convert_Onedimensional_Array(df)
|
138
|
+
|
139
|
+
ax.hist(df1)
|
136
140
|
|
137
141
|
|
138
142
|
|
@@ -142,9 +146,11 @@
|
|
142
146
|
|
143
147
|
|
144
148
|
|
145
|
-
|
149
|
+
|
146
150
|
|
147
151
|
SequencePlot(AnalysisObject_files)
|
152
|
+
|
153
|
+
|
148
154
|
|
149
155
|
```
|
150
156
|
|