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
+18-17Lines changed: 18 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,25 @@
1
1
.. _whatsnew_0181:
2
2
3
-
v0.18.1 (April ??, 2016)
4
-
------------------------
3
+
v0.18.1 (Mayl ??, 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.
8
8
We recommend that all users upgrade to this version.
9
9
10
10
Highlights include:
11
11
12
+
- ``.groupby(...)`` has been enhanced to provide convenient syntax when working with ``.rolling(..)``, ``.expanding(..)`` and ``.resample(..)`` per group, see :ref:`here <whatsnew_0181.deferred_ops>`
13
+
- ``pd.to_datetime()`` has gained the ability to assemble dates from a ``DataFrame``, see :ref:`here <whatsnew_0181.enhancements.assembling>`
12
14
- Custom business hour offset, see :ref:`here <whatsnew_0181.enhancements.custombusinesshour>`.
13
-
15
+
- Many bug fixes in the handling of ``sparse``, see :ref:`here <whatsnew_0181.sparse>`
14
16
15
17
.. contents:: What's new in v0.18.1
16
18
:local:
17
19
:backlinks: none
18
20
19
21
.. _whatsnew_0181.new_features:
20
22
21
-
- ``.groupby(...)`` has been enhanced to provide convenient syntax when working with ``.rolling(..)``, ``.expanding(..)`` and ``.resample(..)`` per group, see :ref:`here <whatsnew_0181.deferred_ops>`
22
23
23
24
New features
24
25
~~~~~~~~~~~~
@@ -149,6 +150,7 @@ Other Enhancements
149
150
- ``pd.read_msgpack()`` now always gives writeable ndarrays even when compression is used (:issue:`12359`).
150
151
- ``pd.read_msgpack()`` now supports serializing and de-serializing categoricals with msgpack (:issue:`12573`)
151
152
- ``interpolate()`` now supports ``method='akima'`` (:issue:`7588`).
153
+
- ``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`)
152
154
- ``Index.take`` now handles ``allow_fill`` and ``fill_value`` consistently (:issue:`12631`)
153
155
- Added ``weekday_name`` as a component to ``DatetimeIndex`` and ``.dt`` accessor. (:issue:`11128`)
154
156
@@ -375,11 +377,11 @@ New behaviour:
375
377
In addition to this error change, several others have been made as well:
376
378
377
379
- ``CParserError`` is now a ``ValueError`` instead of just an ``Exception`` (:issue:`12551`)
378
-
- A ``CParserError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when the C engine cannot parse a column
379
-
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when the C engine encounters a ``NaN`` value in an integer column
380
-
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when ``true_values`` is specified, and the C engine encounters an element in a column containing unencodable bytes
381
-
- ``pandas.parser.OverflowError`` exception has been removed and has been replaced with Python's built-in ``OverflowError`` exception
382
-
- ``read_csv`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
380
+
- A ``CParserError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when the C engine cannot parse a column (:issue:`12506`)
381
+
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when the C engine encounters a ``NaN`` value in an integer column (:issue:`12506`)
382
+
- A ``ValueError`` is now raised instead of a generic ``Exception`` in ``read_csv`` when ``true_values`` is specified, and the C engine encounters an element in a column containing unencodable bytes (:issue:`12506`)
383
+
- ``pandas.parser.OverflowError`` exception has been removed and has been replaced with Python's built-in ``OverflowError`` exception (:issue:`12506`)
384
+
- ``pd.read_csv()`` no longer allows a combination of strings and integers for the ``usecols`` parameter (:issue:`12678`)
383
385
384
386
.. _whatsnew_0181.deprecations:
385
387
@@ -459,23 +461,23 @@ Bug Fixes
459
461
460
462
461
463
462
-
- Bug in ``read_csv`` with the C engine when specifying ``skiprows`` with newlines in quoted items (:issue:`10911`, `12775`)
463
-
- Bug in ``DataFrame`` timezone lost when assigning tz-aware datetime ``Series`` with alignment (:issue`12981`)
464
+
- Bug in ``read_csv`` with the C engine when specifying ``skiprows`` with newlines in quoted items (:issue:`10911`, :issue:`12775`)
465
+
- Bug in ``DataFrame`` timezone lost when assigning tz-aware datetime ``Series`` with alignment (:issue:`12981`)
464
466
465
467
466
468
467
469
468
470
- Bug in ``value_counts`` when ``normalize=True`` and ``dropna=True`` where nulls still contributed to the normalized count (:issue:`12558`)
469
471
- Bug in ``Panel.fillna()`` ignoring ``inplace=True`` (:issue:`12633`)
470
-
- Bug in ``read_csv`` when specifying ``names``, ```usecols``, and ``parse_dates`` simultaneously with the C engine (:issue:`9755`)
472
+
- Bug in ``read_csv`` when specifying ``names``, ``usecols``, and ``parse_dates`` simultaneously with the C engine (:issue:`9755`)
471
473
- Bug in ``read_csv`` when specifying ``delim_whitespace=True`` and ``lineterminator`` simultaneously with the C engine (:issue:`12912`)
472
474
- Bug in ``Series.rename``, ``DataFrame.rename`` and ``DataFrame.rename_axis`` not treating ``Series`` as mappings to relabel (:issue:`12623`).
473
475
- Clean in ``.rolling.min`` and ``.rolling.max`` to enhance dtype handling (:issue:`12373`)
474
476
- Bug in ``groupby`` where complex types are coerced to float (:issue:`12902`)
475
477
- Bug in ``Series.map`` raises ``TypeError`` if its dtype is ``category`` or tz-aware ``datetime`` (:issue:`12473`)
476
478
477
479
478
-
- Bug in index coercion when falling back from ```RangeIndex``` construction (:issue:`12893`)
480
+
- Bug in index coercion when falling back from ``RangeIndex`` construction (:issue:`12893`)
479
481
480
482
- Bug in slicing subclassed ``DataFrame`` defined to return subclassed ``Series`` may return normal ``Series`` (:issue:`11559`)
481
483
@@ -494,9 +496,9 @@ Bug Fixes
494
496
495
497
496
498
497
-
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:issue`12723`)
499
+
- Bug in ``fill_value`` is ignored if the argument to a binary operator is a constant (:issue:`12723`)
498
500
499
-
- Bug in ``pd.read_html`` when using bs4 flavor and parsing table with a header and only one column (:issue`9178`)
501
+
- Bug in ``pd.read_html`` when using bs4 flavor and parsing table with a header and only one column (:issue:`9178`)
500
502
501
503
- Bug in ``pivot_table`` when ``margins=True`` and ``dropna=True`` where nulls still contributed to margin count (:issue:`12577`)
502
504
- Bug in ``pivot_table`` when ``dropna=False`` where table index/column names disappear (:issue:`12133`)
@@ -505,5 +507,4 @@ Bug Fixes
505
507
- Bug in ``Series.name`` when ``name`` attribute can be a hashable type (:issue:`12610`)
506
508
- Bug in ``.describe()`` resets categorical columns information (:issue:`11558`)
507
509
- Bug where ``loffset`` argument was not applied when calling ``resample().count()`` on a timeseries (:issue:`12725`)
508
-
- ``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`)
509
-
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:issue `12870`)
510
+
- ``pd.read_excel()`` now accepts column names associated with keyword argument ``names``(:issue:`12870`)
0 commit comments