Skip to content

Commit e58896d

Browse files
Noah Stoffmanbashtage
authored andcommitted
Bug fix
1 parent dfd6bf4 commit e58896d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_datareader/yahoo/daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _read_one_data(self, url, params):
134134
'volume', 'adjclose']]
135135

136136
if self.ret_index:
137-
df['Ret_Index'] = _calc_return_index(df['Adj Close'])
137+
df['Ret_Index'] = _calc_return_index(df['adjclose'])
138138
if self.adjust_price:
139139
df = _adjust_prices(df)
140140
return df.sort_index().dropna(how='all')

0 commit comments

Comments
 (0)