回答編集履歴
2
g
answer
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
lst = [a, b, c, d, e, f, g]
|
17
17
|
|
18
18
|
df = pd.DataFrame(product(*lst), columns=list("ABCDEFG"))
|
19
|
-
print(df
|
19
|
+
print(df)
|
20
20
|
# A B C D E F G
|
21
21
|
# 0 4 4 0.0 3 4 0.9 5
|
22
22
|
# 1 4 4 0.0 3 4 0.9 15
|
1
d
answer
CHANGED
@@ -13,9 +13,10 @@
|
|
13
13
|
e = [4, 5, 6]
|
14
14
|
f = [0.9, 1, 1.1]
|
15
15
|
g = [5, 15, 25]
|
16
|
+
lst = [a, b, c, d, e, f, g]
|
16
17
|
|
17
|
-
df = pd.DataFrame(product(
|
18
|
+
df = pd.DataFrame(product(*lst), columns=list("ABCDEFG"))
|
18
|
-
print(df)
|
19
|
+
print(df.index)
|
19
20
|
# A B C D E F G
|
20
21
|
# 0 4 4 0.0 3 4 0.9 5
|
21
22
|
# 1 4 4 0.0 3 4 0.9 15
|