Skip to content

Commit 7b59332

Browse files
committed
DOC: add release notes, whatsnew and consolidate replace API changes
1 parent 4cd2f48 commit 7b59332

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

RELEASE.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ pandas 0.11.1
127127
- ``DataFrame.interpolate()`` is now deprecated. Please use
128128
``DataFrame.fillna()`` and ``DataFrame.replace()`` instead (GH3582_,
129129
GH3675_, GH3676_).
130+
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
131+
deprecated
132+
- ``DataFrame.replace`` 's ``infer_types`` parameter is removed and now
133+
performs conversion by default. (GH3907_)
130134
- Deprecated display.height, display.width is now only a formatting option
131135
does not control triggering of summary, similar to < 0.11.0.
132136
- Add the keyword ``allow_duplicates`` to ``DataFrame.insert`` to allow a duplicate column
@@ -141,6 +145,8 @@ pandas 0.11.1
141145
``to_pickle`` instance method, ``save`` and ``load`` will give deprecation warning.
142146
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
143147
deprecated
148+
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
149+
deprecated
144150
- Implement ``__nonzero__`` for ``NDFrame`` objects (GH3691_, GH3696_)
145151
- ``as_matrix`` with mixed signed and unsigned dtypes will result in 2 x the lcd of the unsigned
146152
as an int, maxing with ``int64``, to avoid precision issues (GH3733_)
@@ -236,6 +242,8 @@ pandas 0.11.1
236242
- Fix incorrect arguments passed to concat that are not list-like (e.g. concat(df1,df2)) (GH3481_)
237243
- Correctly parse when passed the ``dtype=str`` (or other variable-len string dtypes) in ``read_csv`` (GH3795_)
238244
- Fix index name not propogating when using ``loc/ix`` (GH3880_)
245+
- Fixed a bug where ``DataFrame.replace`` with a compiled regular expression
246+
in the ``to_replace`` argument wasn't working (GH3907_)
239247

240248
.. _GH3164: https://github.com/pydata/pandas/issues/3164
241249
.. _GH2786: https://github.com/pydata/pandas/issues/2786
@@ -331,6 +339,7 @@ pandas 0.11.1
331339
.. _GH3873: https://github.com/pydata/pandas/issues/3873
332340
.. _GH3877: https://github.com/pydata/pandas/issues/3877
333341
.. _GH3880: https://github.com/pydata/pandas/issues/3880
342+
.. _GH3907: https://github.com/pydata/pandas/issues/3907
334343

335344

336345
pandas 0.11.0

doc/source/v0.11.1.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ API changes
9898
- the ``method`` and ``axis`` arguments of ``DataFrame.replace()`` are
9999
deprecated
100100

101+
- ``DataFrame.replace`` 's ``infer_types`` parameter is removed and now
102+
performs conversion by default. (GH3907_)
103+
101104
- Add the keyword ``allow_duplicates`` to ``DataFrame.insert`` to allow a duplicate column
102105
to be inserted if ``True``, default is ``False`` (same as prior to 0.11.1) (GH3679_)
103106
- Implement ``__nonzero__`` for ``NDFrame`` objects (GH3691_, GH3696_)
@@ -356,6 +359,8 @@ Bug Fixes
356359

357360
- ``DataFrame.from_records`` did not accept empty recarrays (GH3682_)
358361
- ``read_html`` now correctly skips tests (GH3741_)
362+
- Fixed a bug where ``DataFrame.replace`` with a compiled regular expression
363+
in the ``to_replace`` argument wasn't working (GH3907_)
359364

360365
See the `full release notes
361366
<https://github.com/pydata/pandas/blob/master/RELEASE.rst>`__ or issue tracker
@@ -410,3 +415,4 @@ on GitHub for a complete list.
410415
.. _GH3877: https://github.com/pydata/pandas/issues/3877
411416
.. _GH3659: https://github.com/pydata/pandas/issues/3659
412417
.. _GH3679: https://github.com/pydata/pandas/issues/3679
418+
.. _GH3907: https://github.com/pydata/pandas/issues/3907

0 commit comments

Comments
 (0)