回答編集履歴

2

Update

2021/11/06 23:38

投稿

melian
melian

スコア20655

test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```python
2
2
 
3
- csv_records = [(p[0]|p[1]).values() for p in zip(data, a)]
3
+ csv_records = [(p|q).values() for p, q in zip(data, a)]
4
4
 
5
5
  df = pd.DataFrame(csv_records, columns=('銘柄', '結果'))
6
6
 

1

Update

2021/11/06 23:38

投稿

melian
melian

スコア20655

test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```python
2
2
 
3
- csv_records = [[*(p[0]|p[1]).values()] for p in zip(data, a)]
3
+ csv_records = [(p[0]|p[1]).values() for p in zip(data, a)]
4
4
 
5
5
  df = pd.DataFrame(csv_records, columns=('銘柄', '結果'))
6
6