Skip to content

Commit c61f394

Browse files
author
Matthew Hall
committed
Black formatting fixes.
1 parent 6f85da9 commit c61f394

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas_datareader/tests/av/test_av_time_series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def test_av_forex_daily(self):
204204
retry_count=6,
205205
pause=20.5,
206206
)
207-
assert df.columns.equals(self.col_index[:4]) # No volume col for forex
207+
assert df.columns.equals(self.col_index[:4]) # No volume col for forex
208208
assert len(df) == 718
209209
assert df.loc["2015-02-09"]["close"] == 118.6390
210210
assert df.loc["2017-05-24"]["high"] == 112.1290

pandas_datareader/yahoo/daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _read_one_data(self, url, params):
199199
def split_ratio(row):
200200
if float(row["Numerator"]) > 0:
201201
if ":" in row["Splitratio"]:
202-
n, m = row["Splitratio"].split(':')
202+
n, m = row["Splitratio"].split(":")
203203
return float(m) / float(n)
204204
else:
205205
return eval(row["Splitratio"])

0 commit comments

Comments
 (0)