@@ -5,11 +5,6 @@ What's New in 0.23.1 (June 12, 2018)
5
5
6
6
{{ header }}
7
7
8
- .. ipython :: python
9
- :suppress:
10
-
11
- from pandas import * # noqa F401, F403
12
-
13
8
14
9
This is a minor bug-fix release in the 0.23.x series and includes some small regression fixes
15
10
and bug fixes. We recommend that all users upgrade to this version.
@@ -43,19 +38,20 @@ To summarize, here's the behavior in 0.22.0, 0.23.0, 0.23.1:
43
38
.. code-block :: python
44
39
45
40
# 0.22.0... Silently coerce the datetime.date
46
- >> > Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
41
+ >> > import datetime
42
+ >> > pd.Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
47
43
0 True
48
44
1 False
49
45
dtype: bool
50
46
51
47
# 0.23.0... Do not coerce the datetime.date
52
- >> > Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
48
+ >> > pd. Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
53
49
0 False
54
50
1 False
55
51
dtype: bool
56
52
57
53
# 0.23.1... Coerce the datetime.date with a warning
58
- >> > Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
54
+ >> > pd. Series(pd.date_range(' 2017' , periods = 2 )) == datetime.date(2017 , 1 , 1 )
59
55
/ bin / python:1 : FutureWarning : Comparing Series of datetimes with ' datetime.date' . Currently, the
60
56
' datetime.date' is coerced to a datetime. In the future pandas will
61
57
not coerce, and the values not compare equal to the ' datetime.date' .
0 commit comments