質問編集履歴

2

辞書データ再度修正しました

2018/03/15 03:35

投稿

hight_razer
hight_razer

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```python
2
2
 
3
- {'matches': [{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377531, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521023974637, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377205, 'champion': 245, 'queue': 420, 'season': 11, 'timestamp': 1521022113320, 'role': 'DUO', 'lane': 'TOP'}, {'platformId': 'JP1', 'gameId': 168366421, 'champion': 53, 'queue': 420, 'season': 11, 'timestamp': 1521016653949, 'role': 'DUO_SUPPORT', 'lane': 'BOTTOM'}, {'platformId': 'JP1', 'gameId': 168366013, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521014197150, 'role': 'SOLO', 'lane': 'MID'}, 'startIndex': 0, 'endIndex': 20, 'totalGames': 172}]
3
+ {'matches': [{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377531, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521023974637, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377205, 'champion': 245, 'queue': 420, 'season': 11, 'timestamp': 1521022113320, 'role': 'DUO', 'lane': 'TOP'}, {'platformId': 'JP1', 'gameId': 168366421, 'champion': 53, 'queue': 420, 'season': 11, 'timestamp': 1521016653949, 'role': 'DUO_SUPPORT', 'lane': 'BOTTOM'}, {'platformId': 'JP1', 'gameId': 168366013, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521014197150, 'role': 'SOLO', 'lane': 'MID'}], 'startIndex': 0, 'endIndex': 20, 'totalGames': 172}
4
4
 
5
5
  ```
6
6
 

1

]入れました

2018/03/15 03:35

投稿

hight_razer
hight_razer

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,7 @@
1
1
  ```python
2
2
 
3
- {'matches': [{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377531, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521023974637, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377205, 'champion': 245, 'queue': 420, 'season': 11, 'timestamp': 1521022113320, 'role': 'DUO', 'lane': 'TOP'}, {'platformId': 'JP1', 'gameId': 168366421, 'champion': 53, 'queue': 420, 'season': 11, 'timestamp': 1521016653949, 'role': 'DUO_SUPPORT', 'lane': 'BOTTOM'}, {'platformId': 'JP1', 'gameId': 168366013, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521014197150, 'role': 'SOLO', 'lane': 'MID'}, 'startIndex': 0, 'endIndex': 20, 'totalGames': 172}
3
+ {'matches': [{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377531, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521023974637, 'role': 'SOLO', 'lane': 'MID'}, {'platformId': 'JP1', 'gameId': 168377205, 'champion': 245, 'queue': 420, 'season': 11, 'timestamp': 1521022113320, 'role': 'DUO', 'lane': 'TOP'}, {'platformId': 'JP1', 'gameId': 168366421, 'champion': 53, 'queue': 420, 'season': 11, 'timestamp': 1521016653949, 'role': 'DUO_SUPPORT', 'lane': 'BOTTOM'}, {'platformId': 'JP1', 'gameId': 168366013, 'champion': 163, 'queue': 420, 'season': 11, 'timestamp': 1521014197150, 'role': 'SOLO', 'lane': 'MID'}, 'startIndex': 0, 'endIndex': 20, 'totalGames': 172}]
4
4
 
5
5
  ```
6
6
 
7
- こうした辞書の中に辞書があるデータを使って  a b c d e それぞれの変数に{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}という形の辞書だけを入れたい場合ってどうすればよいのでしょうか
7
+ こうした辞書の中に辞書があるデータを使って  a b c d e それぞれの変数に{'platformId': 'JP1', 'gameId': 168358261, 'champion': 4, 'queue': 420, 'season': 11, 'timestamp': 1521026037633, 'role': 'SOLO', 'lane': 'MID'}という形の辞書だけを入れたい場合ってどうすればよいのでしょうか