Skip to content

Commit f4b533d

Browse files
committed
Backport PR #28073: DOC: Update whatsnew
1 parent 8156e53 commit f4b533d

File tree

1 file changed

+22
-88
lines changed

1 file changed

+22
-88
lines changed

doc/source/whatsnew/v0.25.1.rst

+22-88
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,43 @@
11
.. _whatsnew_0251:
22

3-
What's new in 0.25.1 (July XX, 2019)
4-
------------------------------------
3+
What's new in 0.25.1 (August 21, 2019)
4+
--------------------------------------
55

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.
118

12-
Other enhancements
13-
^^^^^^^^^^^^^^^^^^
9+
I/O and LZMA
10+
~~~~~~~~~~~~
1411

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.
1816

1917
.. _whatsnew_0251.bug_fixes:
2018

2119
Bug fixes
2220
~~~~~~~~~
2321

24-
2522
Categorical
2623
^^^^^^^^^^^
2724

28-
- Bug in :meth:`Categorical.fillna` would replace all values, not just those that are ``NaN`` (:issue:`26215`)
29-
-
30-
-
25+
- Bug in :meth:`Categorical.fillna` that would replace all values, not just those that are ``NaN`` (:issue:`26215`)
3126

3227
Datetimelike
3328
^^^^^^^^^^^^
29+
3430
- 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`)
3531
- 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`)
36-
-
37-
-
38-
39-
Timedelta
40-
^^^^^^^^^
41-
42-
-
43-
-
44-
-
4532

4633
Timezones
4734
^^^^^^^^^
4835

4936
- 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`)
50-
-
51-
-
5237

5338
Numeric
5439
^^^^^^^
40+
5541
- Bug in :meth:`Series.interpolate` when using a timezone aware :class:`DatetimeIndex` (:issue:`27548`)
5642
- Bug when printing negative floating point complex numbers would raise an ``IndexError`` (:issue:`27484`)
5743
- 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`)
@@ -61,23 +47,11 @@ Conversion
6147
^^^^^^^^^^
6248

6349
- Improved the warnings for the deprecated methods :meth:`Series.real` and :meth:`Series.imag` (:issue:`27610`)
64-
-
65-
-
66-
67-
Strings
68-
^^^^^^^
69-
70-
-
71-
-
72-
-
73-
7450

7551
Interval
7652
^^^^^^^^
53+
7754
- Bug in :class:`IntervalIndex` where `dir(obj)` would raise ``ValueError`` (:issue:`27571`)
78-
-
79-
-
80-
-
8155

8256
Indexing
8357
^^^^^^^^
@@ -86,47 +60,34 @@ Indexing
8660
- 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`)
8761
- Fix regression in assigning values to a single column of a DataFrame with a ``MultiIndex`` columns (:issue:`27841`).
8862
- Fix regression in ``.ix`` fallback with an ``IntervalIndex`` (:issue:`27865`).
89-
-
9063

9164
Missing
9265
^^^^^^^
9366

94-
- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. `type(pandas.Series())` (:issue:`27482`)
95-
-
96-
-
97-
98-
MultiIndex
99-
^^^^^^^^^^
100-
101-
-
102-
-
103-
-
67+
- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. ``type(pandas.Series())`` (:issue:`27482`)
10468

10569
I/O
10670
^^^
71+
10772
- Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s3fs version 0.3.0 (:issue:`27756`)
10873
- Better error message when a negative header is passed in :func:`pandas.read_csv` (:issue:`27779`)
109-
- Follow the ``min_rows`` display option (introduced in v0.25.0) correctly in the html repr in the notebook (:issue:`27991`).
110-
-
74+
- Follow the ``min_rows`` display option (introduced in v0.25.0) correctly in the HTML repr in the notebook (:issue:`27991`).
11175

11276
Plotting
11377
^^^^^^^^
11478

115-
- 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`).
11680
- Fixed the re-instatement of Matplotlib datetime converters after calling
117-
`pandas.plotting.deregister_matplotlib_converters()` (:issue:`27481`).
118-
-
81+
:meth:`pandas.plotting.deregister_matplotlib_converters` (:issue:`27481`).
11982
- Fix compatibility issue with matplotlib when passing a pandas ``Index`` to a plot call (:issue:`27775`).
120-
-
12183

12284
Groupby/resample/rolling
12385
^^^^^^^^^^^^^^^^^^^^^^^^
12486

12587
- Bug in :meth:`pandas.core.groupby.DataFrameGroupBy.transform` where applying a timezone conversion lambda function would drop timezone information (:issue:`27496`)
12688
- Bug in :meth:`pandas.core.groupby.GroupBy.nth` where ``observed=False`` was being ignored for Categorical groupers (:issue:`26385`)
12789
- Bug in windowing over read-only arrays (:issue:`27766`)
128-
-
129-
-
90+
- Fixed segfault in `pandas.core.groupby.DataFrameGroupBy.quantile` when an invalid quantile was passed (:issue:`27470`)
13091

13192
Reshaping
13293
^^^^^^^^^
@@ -139,39 +100,12 @@ Reshaping
139100
Sparse
140101
^^^^^^
141102

142-
-
143-
-
144-
-
145-
146-
147-
Build Changes
148-
^^^^^^^^^^^^^
149-
150-
-
151-
-
152-
-
153-
154-
ExtensionArray
155-
^^^^^^^^^^^^^^
156-
157-
-
158-
-
159-
-
103+
- Bug in reductions for :class:`Series` with Sparse dtypes (:issue:`27080`)
160104

161105
Other
162106
^^^^^
163-
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when replacing timezone-aware timestamps using a dict-like replacer (:issue:`27720`)
164-
-
165-
-
166-
-
167-
168-
I/O and LZMA
169-
~~~~~~~~~~~~
170107

171-
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`).
172-
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`.
173-
A possible fix for the lack of the `lzma` module is to ensure you have the necessary libraries and then re-install Python.
174-
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`)
175109

176110
.. _whatsnew_0.251.contributors:
177111

0 commit comments

Comments
 (0)