回答編集履歴
2
誤字を修正
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
for num in range(1, 1001):
|
16
16
|
|
17
|
-
df = pd.read_csv(f"{n}.csv", header=None, index_col=[0])
|
17
|
+
df = pd.read_csv(f"{num}.csv", header=None, index_col=[0])
|
18
18
|
|
19
19
|
dfm = pd.concat([dfm, df], axis=1)
|
20
20
|
|
1
すべてループ内で読み込むよう修正
test
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
dfm = pd.
|
11
|
+
dfm = pd.DataFrame()
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
for num in range(
|
15
|
+
for num in range(1, 1001):
|
16
16
|
|
17
17
|
df = pd.read_csv(f"{n}.csv", header=None, index_col=[0])
|
18
18
|
|