回答編集履歴
1
修正
test
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
for start, end in zip(start_indices, end_indices):
|
14
14
|
|
15
|
-
name = df.loc[start, "col_3"]
|
15
|
+
name = df.loc[start, "col_3"] # 名前を取り出す
|
16
16
|
|
17
|
-
df.loc[start + 1 : end, "col_6"] = name
|
17
|
+
df.loc[start + 1 : end, "col_6"] = name # 名前を設定する
|
18
18
|
|
19
19
|
|
20
20
|
|