We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb64ac9 commit 681f739Copy full SHA for 681f739
pandas/io/data.py
@@ -96,8 +96,7 @@ def get_quote_yahoo(symbols):
96
for line in lines:
97
fields = line.strip().split(',')
98
for i,field in enumerate(fields):
99
- # assumes change_pct is in the 5th index
100
- if i == 5:
+ if field[-2:] == '%"':
101
data[header[i]].append(float(field.strip('"%')))
102
elif field[0] == '"':
103
data[header[i]].append( field.strip('"'))
0 commit comments