Skip to content

Commit f1bb9e3

Browse files
jorisvandenbosschejreback
authored andcommitted
DOC: fix whatsnew
closes #13009
1 parent ec9a399 commit f1bb9e3

File tree

1 file changed

+29
-33
lines changed

1 file changed

+29
-33
lines changed

doc/source/whatsnew/v0.18.1.txt

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _whatsnew_0181:
22

3-
v0.18.1 (Mayl ??, 2016)
4-
-----------------------
3+
v0.18.1 (May ??, 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.
@@ -20,7 +20,6 @@ Highlights include:
2020

2121
.. _whatsnew_0181.new_features:
2222

23-
2423
New features
2524
~~~~~~~~~~~~
2625

@@ -46,11 +45,6 @@ see :ref:`Custom Business Hour <timeseries.custombusinesshour>` (:issue:`11514`)
4645
# Tuesday after MLK Day (Monday is skipped because it's a holiday)
4746
dt + bhour_us * 2
4847

49-
.. _whatsnew_0181.enhancements:
50-
51-
Enhancements
52-
~~~~~~~~~~~~
53-
5448
.. _whatsnew_0181.deferred_ops:
5549

5650
``.groupby(..)`` syntax with window and resample operations
@@ -195,7 +189,7 @@ These changes conform sparse handling to return the correct types and work to ma
195189
- Bug in ``SparseSeries.loc[]``, ``.iloc[]`` with ``slice`` returns ``SparseArray``, rather than ``SparseSeries`` (:issue:`10560`)
196190
- Bug in ``SparseDataFrame.loc[]``, ``.iloc[]`` may results in dense ``Series``, rather than ``SparseSeries`` (:issue:`12787`)
197191
- Bug in ``SparseArray`` addition ignores ``fill_value`` of right hand side (:issue:`12910`)
198-
- Bug in ``SparseArray`` mod raises ``AttributeError (:issue:`12910`)
192+
- Bug in ``SparseArray`` mod raises ``AttributeError`` (:issue:`12910`)
199193
- Bug in ``SparseArray`` pow calculates ``1 ** np.nan`` as ``np.nan`` which must be 1 (:issue:`12910`)
200194
- Bug in ``SparseArray`` comparison output may incorrect result or raise ``ValueError`` (:issue:`12971`)
201195
- Bug in ``SparseSeries.__repr__`` raises ``TypeError`` when it is longer than ``max_rows`` (:issue:`10560`)
@@ -210,10 +204,15 @@ These changes conform sparse handling to return the correct types and work to ma
210204
- Bug in ``pd.concat()`` of ``SparseDataFrame`` may raise ``AttributeError`` (:issue:`12174`)
211205
- Bug in ``SparseArray.shift()`` may raise ``NameError`` or ``TypeError`` (:issue:`12908`)
212206

207+
.. _whatsnew_0181.api:
208+
209+
API changes
210+
~~~~~~~~~~~
211+
213212
.. _whatsnew_0181.api.groubynth:
214213

215214
``.groupby(..).nth()`` changes
216-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
217216

218217
The index in ``.groupby(..).nth()`` output is now more consistent when the ``as_index`` argument is passed (:issue:`11039`):
219218

@@ -283,27 +282,6 @@ New Behavior:
283282
df.groupby('c', sort=True).nth(1)
284283
df.groupby('c', sort=False).nth(1)
285284

286-
.. _whatsnew_0181.api:
287-
288-
API changes
289-
~~~~~~~~~~~
290-
- ``.swaplevel()`` for ``Series``, ``DataFrame``, ``Panel``, and ``MultiIndex`` now features defaults for its first two parameters ``i`` and ``j`` that swap the two innermost levels of the index. (:issue:`12934`)
291-
292-
- ``.searchsorted()`` for ``Index`` and ``TimedeltaIndex`` now accept a ``sorter`` argument to maintain compatibility with numpy's ``searchsorted`` function (:issue:`12238`)
293-
294-
- ``Period`` and ``PeriodIndex`` now raises ``IncompatibleFrequency`` error which inherits ``ValueError`` rather than raw ``ValueError`` (:issue:`12615`)
295-
296-
- ``Series.apply`` for category dtype now applies the passed function to each ``.categories`` (not ``.codes``), and returns a ``category`` dtype if possible (:issue:`12473`)
297-
298-
- ``read_csv`` will now raise a ``TypeError`` if ``parse_dates`` is neither a boolean, list, or dictionary (:issue:`5636`)
299-
300-
- The default for ``.query()/.eval()`` is now ``engine=None``, which will use ``numexpr`` if it's installed; otherwise it will fallback to the ``python`` engine. This mimics the pre-0.18.1 behavior if ``numexpr`` is installed (and which Previously, if numexpr was not installed, ``.query()/.eval()`` would raise). (:issue:`12749`)
301-
302-
303-
- ``pd.show_versions()`` now includes ``pandas_datareader`` version (:issue:`12740`)
304-
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic functions (:issue:`12021`)
305-
- ``pd.concat(ignore_index=True)`` now uses ``RangeIndex`` as default (:issue:`12695`)
306-
- ``pd.merge()`` and ``DataFrame.join()`` will show a ``UserWarning`` when merging/joining a single- with a multi-leveled dataframe (:issue:`9455`, :issue:`12219`)
307285

308286
.. _whatsnew_0181.apply_resample:
309287

@@ -386,6 +364,24 @@ In addition to this error change, several others have been made as well:
386364
- ``pandas.parser.OverflowError`` exception has been removed and has been replaced with Python's built-in ``OverflowError`` exception (:issue:`12506`)
387365
- ``pd.read_csv()`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
388366

367+
368+
.. _whatsnew_0181.api.other:
369+
370+
Other API changes
371+
^^^^^^^^^^^^^^^^^
372+
373+
- ``.swaplevel()`` for ``Series``, ``DataFrame``, ``Panel``, and ``MultiIndex`` now features defaults for its first two parameters ``i`` and ``j`` that swap the two innermost levels of the index. (:issue:`12934`)
374+
- ``.searchsorted()`` for ``Index`` and ``TimedeltaIndex`` now accept a ``sorter`` argument to maintain compatibility with numpy's ``searchsorted`` function (:issue:`12238`)
375+
- ``Period`` and ``PeriodIndex`` now raises ``IncompatibleFrequency`` error which inherits ``ValueError`` rather than raw ``ValueError`` (:issue:`12615`)
376+
- ``Series.apply`` for category dtype now applies the passed function to each ``.categories`` (not ``.codes``), and returns a ``category`` dtype if possible (:issue:`12473`)
377+
- ``read_csv`` will now raise a ``TypeError`` if ``parse_dates`` is neither a boolean, list, or dictionary (:issue:`5636`)
378+
- The default for ``.query()/.eval()`` is now ``engine=None``, which will use ``numexpr`` if it's installed; otherwise it will fallback to the ``python`` engine. This mimics the pre-0.18.1 behavior if ``numexpr`` is installed (and which Previously, if numexpr was not installed, ``.query()/.eval()`` would raise). (:issue:`12749`)
379+
- ``pd.show_versions()`` now includes ``pandas_datareader`` version (:issue:`12740`)
380+
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic functions (:issue:`12021`)
381+
- ``pd.concat(ignore_index=True)`` now uses ``RangeIndex`` as default (:issue:`12695`)
382+
- ``pd.merge()`` and ``DataFrame.join()`` will show a ``UserWarning`` when merging/joining a single- with a multi-leveled dataframe (:issue:`9455`, :issue:`12219`)
383+
384+
389385
.. _whatsnew_0181.deprecations:
390386

391387
Deprecations
@@ -411,7 +407,7 @@ Performance Improvements
411407
- Improved memory usage in ``pd.read_csv()`` when using ``skiprows=an_integer`` (:issue:`13005`)
412408

413409
- Improved performance of ``DataFrame.to_sql`` when checking case sensitivity for tables. Now only checks if table has been created correctly when table name is not lower case. (:issue:`12876`)
414-
- Improved performance of ``Period`` construction and plotting of ``Period``s. (:issue:`12903`, :issue:`11831`)
410+
- Improved performance of ``Period`` construction and time series plotting (:issue:`12903`, :issue:`11831`).
415411

416412

417413

@@ -515,4 +511,4 @@ Bug Fixes
515511

516512
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
517513
- Bug where ``loffset`` argument was not applied when calling ``resample().count()`` on a timeseries (:issue:`12725`)
518-
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:issue:`12870`)
514+
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names`` (:issue:`12870`)

0 commit comments

Comments
 (0)