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.18.1.txt
+29-33Lines changed: 29 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
.. _whatsnew_0181:
2
2
3
-
v0.18.1 (Mayl ??, 2016)
4
-
-----------------------
3
+
v0.18.1 (May ??, 2016)
4
+
----------------------
5
5
6
6
This is a minor bug-fix release from 0.18.0 and includes a large number of
7
7
bug fixes along with several new features, enhancements, and performance improvements.
@@ -20,7 +20,6 @@ Highlights include:
20
20
21
21
.. _whatsnew_0181.new_features:
22
22
23
-
24
23
New features
25
24
~~~~~~~~~~~~
26
25
@@ -46,11 +45,6 @@ see :ref:`Custom Business Hour <timeseries.custombusinesshour>` (:issue:`11514`)
46
45
# Tuesday after MLK Day (Monday is skipped because it's a holiday)
47
46
dt + bhour_us * 2
48
47
49
-
.. _whatsnew_0181.enhancements:
50
-
51
-
Enhancements
52
-
~~~~~~~~~~~~
53
-
54
48
.. _whatsnew_0181.deferred_ops:
55
49
56
50
``.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
195
189
- Bug in ``SparseSeries.loc[]``, ``.iloc[]`` with ``slice`` returns ``SparseArray``, rather than ``SparseSeries`` (:issue:`10560`)
196
190
- Bug in ``SparseDataFrame.loc[]``, ``.iloc[]`` may results in dense ``Series``, rather than ``SparseSeries`` (:issue:`12787`)
197
191
- 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`)
199
193
- Bug in ``SparseArray`` pow calculates ``1 ** np.nan`` as ``np.nan`` which must be 1 (:issue:`12910`)
200
194
- Bug in ``SparseArray`` comparison output may incorrect result or raise ``ValueError`` (:issue:`12971`)
201
195
- 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
210
204
- Bug in ``pd.concat()`` of ``SparseDataFrame`` may raise ``AttributeError`` (:issue:`12174`)
211
205
- Bug in ``SparseArray.shift()`` may raise ``NameError`` or ``TypeError`` (:issue:`12908`)
212
206
207
+
.. _whatsnew_0181.api:
208
+
209
+
API changes
210
+
~~~~~~~~~~~
211
+
213
212
.. _whatsnew_0181.api.groubynth:
214
213
215
214
``.groupby(..).nth()`` changes
216
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
217
216
218
217
The index in ``.groupby(..).nth()`` output is now more consistent when the ``as_index`` argument is passed (:issue:`11039`):
219
218
@@ -283,27 +282,6 @@ New Behavior:
283
282
df.groupby('c', sort=True).nth(1)
284
283
df.groupby('c', sort=False).nth(1)
285
284
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`)
307
285
308
286
.. _whatsnew_0181.apply_resample:
309
287
@@ -386,6 +364,24 @@ In addition to this error change, several others have been made as well:
386
364
- ``pandas.parser.OverflowError`` exception has been removed and has been replaced with Python's built-in ``OverflowError`` exception (:issue:`12506`)
387
365
- ``pd.read_csv()`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
388
366
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
+
389
385
.. _whatsnew_0181.deprecations:
390
386
391
387
Deprecations
@@ -411,7 +407,7 @@ Performance Improvements
411
407
- Improved memory usage in ``pd.read_csv()`` when using ``skiprows=an_integer`` (:issue:`13005`)
412
408
413
409
- 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`).
415
411
416
412
417
413
@@ -515,4 +511,4 @@ Bug Fixes
515
511
516
512
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
517
513
- 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