Skip to content

Commit 4e6b649

Browse files
committed
DOC: whatsnew fixes
DOC: add in v0.18.2.txt
1 parent e9ef522 commit 4e6b649

File tree

3 files changed

+111
-18
lines changed

3 files changed

+111
-18
lines changed

doc/source/release.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,19 @@ analysis / manipulation tool available in any language.
4040
pandas 0.18.1
4141
-------------
4242

43-
**Release date:** (April ??, 2016)
43+
**Release date:** (May 3, 2016)
4444

4545
This is a minor release from 0.18.0 and includes a large number of bug fixes
4646
along with several new features, enhancements, and performance improvements.
4747

4848
Highlights include:
4949

50+
- ``.groupby(...)`` has been enhanced to provide convenient syntax when working with ``.rolling(..)``, ``.expanding(..)`` and ``.resample(..)`` per group, see :ref:`here <whatsnew_0181.deferred_ops>`
51+
- ``pd.to_datetime()`` has gained the ability to assemble dates from a ``DataFrame``, see :ref:`here <whatsnew_0181.enhancements.assembling>`
52+
- Custom business hour offset, see :ref:`here <whatsnew_0181.enhancements.custombusinesshour>`.
53+
- Many bug fixes in the handling of ``sparse``, see :ref:`here <whatsnew_0181.sparse>`
54+
- Method chaining improvements, see :ref:`here <whatsnew_0181.enhancements.method_chain>`.
55+
5056
See the :ref:`v0.18.1 Whatsnew <whatsnew_0181>` overview for an extensive list
5157
of all enhancements and bugs that have been fixed in 0.18.1.
5258

doc/source/whatsnew/v0.18.1.txt

+28-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _whatsnew_0181:
22

3-
v0.18.1 (May ??, 2016)
4-
----------------------
3+
v0.18.1 (May 3, 2016)
4+
---------------------
55

66
This is a minor bug-fix release from 0.18.0 and includes a large number of
77
bug fixes along with several new features, enhancements, and performance improvements.
@@ -190,9 +190,18 @@ Assembling Datetimes
190190
'month': [2, 3],
191191
'day': [4, 5],
192192
'hour': [2, 3]})
193+
df
194+
195+
Assembling using the passed frame.
196+
197+
.. ipython:: python
198+
193199
pd.to_datetime(df)
194200

195-
# pass only the columns that you need to assemble
201+
You can pass only the columns that you need to assemble.
202+
203+
.. ipython:: python
204+
196205
pd.to_datetime(df[['year', 'month', 'day']])
197206

198207
.. _whatsnew_0181.other:
@@ -209,20 +218,22 @@ Other Enhancements
209218
- ``interpolate()`` now supports ``method='akima'`` (:issue:`7588`).
210219
- ``pd.read_excel()`` now accepts path objects (e.g. ``pathlib.Path``, ``py.path.local``) for the file path, in line with other ``read_*`` functions (:issue:`12655`)
211220
- ``Index.take`` now handles ``allow_fill`` and ``fill_value`` consistently (:issue:`12631`)
212-
- Added ``weekday_name`` as a component to ``DatetimeIndex`` and ``.dt`` accessor. (:issue:`11128`)
221+
- Added ``.weekday_name`` property as a component to ``DatetimeIndex`` and the ``.dt`` accessor. (:issue:`11128`)
222+
223+
- ``Index.take`` now handles ``allow_fill`` and ``fill_value`` consistently (:issue:`12631`)
213224

214-
.. ipython:: python
225+
.. ipython:: python
215226

216-
idx = pd.Index([1., 2., 3., 4.], dtype='float')
217-
idx.take([2, -1]) # default, allow_fill=True, fill_value=None
218-
idx.take([2, -1], fill_value=True)
227+
idx = pd.Index([1., 2., 3., 4.], dtype='float')
228+
idx.take([2, -1]) # default, allow_fill=True, fill_value=None
229+
idx.take([2, -1], fill_value=True)
219230

220231
- ``Index`` now supports ``.str.get_dummies()`` which returns ``MultiIndex``, see :ref:`Creating Indicator Variables <text.indicator>` (:issue:`10008`, :issue:`10103`)
221232

222-
.. ipython:: python
233+
.. ipython:: python
223234

224-
idx = pd.Index(['a|b', 'a|c', 'b|c'])
225-
idx.str.get_dummies('|')
235+
idx = pd.Index(['a|b', 'a|c', 'b|c'])
236+
idx.str.get_dummies('|')
226237

227238

228239
- ``pd.crosstab()`` has gained a ``normalize`` argument for normalizing frequency tables (:issue:`12569`). Examples in the updated docs :ref:`here <reshaping.crosstabulations>`.
@@ -236,7 +247,7 @@ Sparse changes
236247

237248
These changes conform sparse handling to return the correct types and work to make a smoother experience with indexing.
238249

239-
``SparseArray.take`` now returns scalar for scalar input, ``SparseArray`` for others. Also now it handles negative indexer as the same rule as ``Index`` (:issue:`10560`, :issue:`12796`)
250+
``SparseArray.take`` now returns a scalar for scalar input, ``SparseArray`` for others. Furthermore, it handles a negative indexer with the same rule as ``Index`` (:issue:`10560`, :issue:`12796`)
240251

241252
.. ipython:: python
242253

@@ -488,7 +499,7 @@ Deprecations
488499
Performance Improvements
489500
~~~~~~~~~~~~~~~~~~~~~~~~
490501

491-
- Improved speed of SAS reader (:issue:`12656`, :issue`12961`)
502+
- Improved speed of SAS reader (:issue:`12656`, :issue:`12961`)
492503
- Performance improvements in ``.groupby(..).cumcount()`` (:issue:`11039`)
493504
- Improved memory usage in ``pd.read_csv()`` when using ``skiprows=an_integer`` (:issue:`13005`)
494505

@@ -517,14 +528,14 @@ Bug Fixes
517528
- Bug in printing data which contains ``Period`` with different ``freq`` raises ``ValueError`` (:issue:`12615`)
518529
- Bug in numpy compatibility of ``np.round()`` on a ``Series`` (:issue:`12600`)
519530
- Bug in ``Series`` construction with ``Categorical`` and ``dtype='category'`` is specified (:issue:`12574`)
520-
- Bugs in concatenation with a coercable dtype was too aggressive. (:issue:`12411`, :issue:`12045`, :issue:`11594`, :issue:`10571`, :issue:`12211`)
531+
- Bugs in concatenation with a coercable dtype was too aggressive, resulting in different dtypes in outputformatting when an object was longer than ``display.max_rows`` (:issue:`12411`, :issue:`12045`, :issue:`11594`, :issue:`10571`, :issue:`12211`)
521532
- Bug in ``float_format`` option with option not being validated as a callable. (:issue:`12706`)
522533
- Bug in ``GroupBy.filter`` when ``dropna=False`` and no groups fulfilled the criteria (:issue:`12768`)
523534
- Bug in ``__name__`` of ``.cum*`` functions (:issue:`12021`)
524535
- Bug in ``.astype()`` of a ``Float64Inde/Int64Index`` to an ``Int64Index`` (:issue:`12881`)
525536
- Bug in roundtripping an integer based index in ``.to_json()/.read_json()`` when ``orient='index'`` (the default) (:issue:`12866`)
526537
- Bug in plotting ``Categorical`` dtypes cause error when attempting stacked bar plot (:issue:`13019`)
527-
- Compat with >= numpy 1.11 for NaT comparions (:issue:`12969`)
538+
- Compat with >= ``numpy`` 1.11 for ``NaT`` comparions (:issue:`12969`)
528539
- Bug in ``.drop()`` with a non-unique ``MultiIndex``. (:issue:`12701`)
529540
- Bug in ``.concat`` of datetime tz-aware and naive DataFrames (:issue:`12467`)
530541
- Bug in correctly raising a ``ValueError`` in ``.resample(..).fillna(..)`` when passing a non-string (:issue:`12952`)
@@ -533,7 +544,7 @@ Bug Fixes
533544
- Potential segfault in ``DataFrame.to_json`` when serialising ``datetime.time`` (:issue:`11473`).
534545
- Potential segfault in ``DataFrame.to_json`` when attempting to serialise 0d array (:issue:`11299`).
535546
- Segfault in ``to_json`` when attempting to serialise a ``DataFrame`` or ``Series`` with non-ndarray values (:issue:`10778`).
536-
- Bug in ``.align`` when sub-classing not returning the sub-class (:issue:`12983`)
547+
- Bug in ``.align`` not returning the sub-class (:issue:`12983`)
537548
- Bug in aligning a ``Series`` with a ``DataFrame`` (:issue:`13037`)
538549

539550

@@ -590,7 +601,7 @@ Bug Fixes
590601

591602

592603
- Bug in ``concat`` raises ``AttributeError`` when input data contains tz-aware datetime and timedelta (:issue:`12620`)
593-
- Bug in ``concat`` doesn't handle empty ``Series`` properly (:issue:`11082`)
604+
- Bug in ``concat`` did not handle empty ``Series`` properly (:issue:`11082`)
594605

595606
- Bug in ``.plot.bar`` alginment when ``width`` is specified with ``int`` (:issue:`12979`)
596607

doc/source/whatsnew/v0.18.2.txt

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.. _whatsnew_0182:
2+
3+
v0.18.2 (July ??, 2016)
4+
-----------------------
5+
6+
This is a minor bug-fix release from 0.18.1 and includes a large number of
7+
bug fixes along with several new features, enhancements, and performance improvements.
8+
We recommend that all users upgrade to this version.
9+
10+
Highlights include:
11+
12+
13+
.. contents:: What's new in v0.18.2
14+
:local:
15+
:backlinks: none
16+
17+
.. _whatsnew_0182.new_features:
18+
19+
New features
20+
~~~~~~~~~~~~
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
.. _whatsnew_0182.api:
36+
37+
API changes
38+
~~~~~~~~~~~
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
.. _whatsnew_0182.api.other:
54+
55+
Other API changes
56+
^^^^^^^^^^^^^^^^^
57+
58+
.. _whatsnew_0182.deprecations:
59+
60+
Deprecations
61+
^^^^^^^^^^^^
62+
63+
64+
.. _whatsnew_0182.performance:
65+
66+
Performance Improvements
67+
~~~~~~~~~~~~~~~~~~~~~~~~
68+
69+
70+
71+
72+
73+
.. _whatsnew_0182.bug_fixes:
74+
75+
Bug Fixes
76+
~~~~~~~~~

0 commit comments

Comments
 (0)