You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.25.1.rst
+21-86
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,43 @@
1
1
.. _whatsnew_0251:
2
2
3
-
What's new in 0.25.1 (July XX, 2019)
4
-
------------------------------------
3
+
What's new in 0.25.1 (August 21, 2019)
4
+
--------------------------------------
5
5
6
-
Enhancements
7
-
~~~~~~~~~~~~
8
-
9
-
10
-
.. _whatsnew_0251.enhancements.other:
6
+
These are the changes in pandas 0.25.1. See :ref:`release` for a full changelog
7
+
including other versions of pandas.
11
8
12
-
Other enhancements
13
-
^^^^^^^^^^^^^^^^^^
9
+
I/O and LZMA
10
+
~~~~~~~~~~~~
14
11
15
-
-
16
-
-
17
-
-
12
+
Some users may unknowingly have an incomplete Python installation lacking the `lzma` module from the standard library. In this case, `import pandas` failed due to an `ImportError` (:issue: `27575`).
13
+
Pandas will now warn, rather than raising an `ImportError` if the `lzma` module is not present. Any subsequent attempt to use `lzma` methods will raise a `RuntimeError`.
14
+
A possible fix for the lack of the `lzma` module is to ensure you have the necessary libraries and then re-install Python.
15
+
For example, on MacOS installing Python with `pyenv` may lead to an incomplete Python installation due to unmet system dependencies at compilation time (like `xz`). Compilation will succeed, but Python might fail at run time. The issue can be solved by installing the necessary dependencies and then re-installing Python.
18
16
19
17
.. _whatsnew_0251.bug_fixes:
20
18
21
19
Bug fixes
22
20
~~~~~~~~~
23
21
24
-
25
22
Categorical
26
23
^^^^^^^^^^^
27
24
28
-
- Bug in :meth:`Categorical.fillna` would replace all values, not just those that are ``NaN`` (:issue:`26215`)
29
-
-
25
+
- Bug in :meth:`Categorical.fillna` that would replace all values, not just those that are ``NaN`` (:issue:`26215`)
30
26
31
27
Datetimelike
32
28
^^^^^^^^^^^^
29
+
33
30
- Bug in :func:`to_datetime` where passing a timezone-naive :class:`DatetimeArray` or :class:`DatetimeIndex` and ``utc=True`` would incorrectly return a timezone-naive result (:issue:`27733`)
34
31
- Bug in :meth:`Period.to_timestamp` where a :class:`Period` outside the :class:`Timestamp` implementation bounds (roughly 1677-09-21 to 2262-04-11) would return an incorrect :class:`Timestamp` instead of raising ``OutOfBoundsDatetime`` (:issue:`19643`)
35
-
-
36
-
-
37
-
38
-
Timedelta
39
-
^^^^^^^^^
40
-
41
-
-
42
-
-
43
-
-
44
32
45
33
Timezones
46
34
^^^^^^^^^
47
35
48
36
- Bug in :class:`Index` where a numpy object array with a timezone aware :class:`Timestamp` and ``np.nan`` would not return a :class:`DatetimeIndex` (:issue:`27011`)
49
-
-
50
-
-
51
37
52
38
Numeric
53
39
^^^^^^^
40
+
54
41
- Bug in :meth:`Series.interpolate` when using a timezone aware :class:`DatetimeIndex` (:issue:`27548`)
55
42
- Bug when printing negative floating point complex numbers would raise an ``IndexError`` (:issue:`27484`)
56
43
- Bug where :class:`DataFrame` arithmetic operators such as :meth:`DataFrame.mul` with a :class:`Series` with axis=1 would raise an ``AttributeError`` on :class:`DataFrame` larger than the minimum threshold to invoke numexpr (:issue:`27636`)
@@ -60,23 +47,11 @@ Conversion
60
47
^^^^^^^^^^
61
48
62
49
- Improved the warnings for the deprecated methods :meth:`Series.real` and :meth:`Series.imag` (:issue:`27610`)
63
-
-
64
-
-
65
-
66
-
Strings
67
-
^^^^^^^
68
-
69
-
-
70
-
-
71
-
-
72
-
73
50
74
51
Interval
75
52
^^^^^^^^
53
+
76
54
- Bug in :class:`IntervalIndex` where `dir(obj)` would raise ``ValueError`` (:issue:`27571`)
77
-
-
78
-
-
79
-
-
80
55
81
56
Indexing
82
57
^^^^^^^^
@@ -85,38 +60,26 @@ Indexing
85
60
- Break reference cycle involving :class:`Index` and other index classes to allow garbage collection of index objects without running the GC. (:issue:`27585`, :issue:`27840`)
86
61
- Fix regression in assigning values to a single column of a DataFrame with a ``MultiIndex`` columns (:issue:`27841`).
87
62
- Fix regression in ``.ix`` fallback with an ``IntervalIndex`` (:issue:`27865`).
88
-
-
89
63
90
64
Missing
91
65
^^^^^^^
92
66
93
-
- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. `type(pandas.Series())` (:issue:`27482`)
94
-
-
95
-
-
96
-
97
-
MultiIndex
98
-
^^^^^^^^^^
99
-
100
-
-
101
-
-
102
-
-
67
+
- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. ``type(pandas.Series())`` (:issue:`27482`)
103
68
104
69
I/O
105
70
^^^
71
+
106
72
- Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s3fs version 0.3.0 (:issue:`27756`)
107
73
- Better error message when a negative header is passed in :func:`pandas.read_csv` (:issue:`27779`)
108
-
- Follow the ``min_rows`` display option (introduced in v0.25.0) correctly in the html repr in the notebook (:issue:`27991`).
109
-
-
74
+
- Follow the ``min_rows`` display option (introduced in v0.25.0) correctly in the HTML repr in the notebook (:issue:`27991`).
110
75
111
76
Plotting
112
77
^^^^^^^^
113
78
114
-
- Added a pandas_plotting_backends entrypoint group for registering plot backends. See :ref:`extending.plotting-backends` for more (:issue:`26747`).
79
+
- Added a ``pandas_plotting_backends`` entrypoint group for registering plot backends. See :ref:`extending.plotting-backends` for more (:issue:`26747`).
115
80
- Fixed the re-instatement of Matplotlib datetime converters after calling
- Fix compatibility issue with matplotlib when passing a pandas ``Index`` to a plot call (:issue:`27775`).
119
-
-
120
83
121
84
Groupby/resample/rolling
122
85
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -125,7 +88,6 @@ Groupby/resample/rolling
125
88
- Bug in :meth:`pandas.core.groupby.GroupBy.nth` where ``observed=False`` was being ignored for Categorical groupers (:issue:`26385`)
126
89
- Bug in windowing over read-only arrays (:issue:`27766`)
127
90
- Fixed segfault in `pandas.core.groupby.DataFrameGroupBy.quantile` when an invalid quantile was passed (:issue:`27470`)
128
-
-
129
91
130
92
Reshaping
131
93
^^^^^^^^^
@@ -137,40 +99,13 @@ Reshaping
137
99
138
100
Sparse
139
101
^^^^^^
140
-
- Bug in reductions for :class:`Series` with Sparse dtypes (:issue:`27080`)
141
-
-
142
-
-
143
-
-
144
-
145
-
146
-
Build Changes
147
-
^^^^^^^^^^^^^
148
-
149
-
-
150
-
-
151
-
-
152
-
153
-
ExtensionArray
154
-
^^^^^^^^^^^^^^
155
102
156
-
-
157
-
-
158
-
-
103
+
- Bug in reductions for :class:`Series` with Sparse dtypes (:issue:`27080`)
159
104
160
105
Other
161
106
^^^^^
162
-
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when replacing timezone-aware timestamps using a dict-like replacer (:issue:`27720`)
163
-
-
164
-
-
165
-
-
166
-
167
-
I/O and LZMA
168
-
~~~~~~~~~~~~
169
107
170
-
Some users may unknowingly have an incomplete Python installation, which lacks the `lzma` module from the standard library. In this case, `import pandas` failed due to an `ImportError` (:issue: `27575`).
171
-
Pandas will now warn, rather than raising an `ImportError` if the `lzma` module is not present. Any subsequent attempt to use `lzma` methods will raise a `RuntimeError`.
172
-
A possible fix for the lack of the `lzma` module is to ensure you have the necessary libraries and then re-install Python.
173
-
For example, on MacOS installing Python with `pyenv` may lead to an incomplete Python installation due to unmet system dependencies at compilation time (like `xz`). Compilation will succeed, but Python might fail at run time. The issue can be solved by installing the necessary dependencies and then re-installing Python.
108
+
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when replacing timezone-aware timestamps using a dict-like replacer (:issue:`27720`)
0 commit comments