Skip to content

Commit 5722a57

Browse files
committed
BUG: default pandas.io.data start date 1/1/2000 per docs. close #2011
1 parent ef8d7ae commit 5722a57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

RELEASE.rst

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pandas 0.9.0
3636
Finance (#1748, #1739)
3737
- Recognize and convert more boolean values in file parsing (Yes, No, TRUE,
3838
FALSE, variants thereof) (#1691, #1295)
39+
- Add Panel.update method, analogous to DataFrame.update (#1999, #1988)
3940

4041
**Improvements to existing features**
4142

@@ -245,6 +246,7 @@ pandas 0.9.0
245246
- Fix reset_index bug if both drop and level are specified (#1957)
246247
- Work around unsafe NumPy object->int casting with Cython function (#1987)
247248
- Fix datetime64 formatting bug in DataFrame.to_csv (#1993)
249+
- Default start date in pandas.io.data to 1/1/2000 as the docs say (#2011)
248250

249251

250252
pandas 0.8.1

pandas/io/data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _sanitize_dates(start, end):
6767
start = to_datetime(start)
6868
end = to_datetime(end)
6969
if start is None:
70-
start = dt.datetime.today() - dt.timedelta(365)
70+
start = dt.datetime(2010, 1, 1)
7171
if end is None:
7272
end = dt.datetime.today()
7373
return start, end

0 commit comments

Comments
 (0)