回答編集履歴
2
g
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
df = pd.DataFrame(product(*lst), columns=list("ABCDEFG"))
|
36
36
|
|
37
|
-
print(df
|
37
|
+
print(df)
|
38
38
|
|
39
39
|
# A B C D E F G
|
40
40
|
|
1
d
test
CHANGED
@@ -28,11 +28,13 @@
|
|
28
28
|
|
29
29
|
g = [5, 15, 25]
|
30
30
|
|
31
|
+
lst = [a, b, c, d, e, f, g]
|
31
32
|
|
32
33
|
|
33
|
-
df = pd.DataFrame(product(a, b, c, d, e, f, g), columns=list("ABCDEFG"))
|
34
34
|
|
35
|
+
df = pd.DataFrame(product(*lst), columns=list("ABCDEFG"))
|
36
|
+
|
35
|
-
print(df)
|
37
|
+
print(df.index)
|
36
38
|
|
37
39
|
# A B C D E F G
|
38
40
|
|