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 90f155a commit 617ea59Copy full SHA for 617ea59
pandas_datareader/av/time_series.py
@@ -116,7 +116,7 @@ def _read_lines(self, out):
116
data = data[::-1]
117
start_str = self.start.strftime("%Y-%m-%d")
118
end_str = self.end.strftime("%Y-%m-%d")
119
- data = data.loc[start_str:end_str]
+ data = data.loc[end_str:start_str]
120
if data.empty:
121
raise ValueError("Please input a valid date range")
122
else:
0 commit comments