Skip to content

Commit 617ea59

Browse files
authored
Fix AV, see issue pydata#741
1 parent 90f155a commit 617ea59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_datareader/av/time_series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _read_lines(self, out):
116116
data = data[::-1]
117117
start_str = self.start.strftime("%Y-%m-%d")
118118
end_str = self.end.strftime("%Y-%m-%d")
119-
data = data.loc[start_str:end_str]
119+
data = data.loc[end_str:start_str]
120120
if data.empty:
121121
raise ValueError("Please input a valid date range")
122122
else:

0 commit comments

Comments
 (0)