We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4568d commit b80c74cCopy full SHA for b80c74c
pandas_datareader/google/quotes.py
@@ -25,5 +25,5 @@ def _read_lines(self, out):
25
buffer = out.read()
26
m = re.search('// ', buffer)
27
result = json.loads(buffer[m.start() + len('// '):])
28
- return pandas.DataFrame(map(lambda x: float(x['l']), result),
29
- index=map(lambda x: x['t'], result))
+ return pandas.DataFrame([float(x['l']) for x in result],
+ index=[x['t'] for x in result])
0 commit comments