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.21.0.txt
+9-3
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ New features
28
28
and :class:`~pandas.ExcelWriter` to work properly with the file system path protocol (:issue:`13823`)
29
29
- Added ``skipna`` parameter to :func:`~pandas.api.types.infer_dtype` to
30
30
support type inference in the presence of missing values (:issue:`17059`).
31
+
- :class:`~pandas.Resampler.nearest` is added to support nearest-neighbor upsampling (:issue:`17496`).
31
32
32
33
.. _whatsnew_0210.enhancements.infer_objects:
33
34
@@ -113,7 +114,7 @@ Other Enhancements
113
114
- :func:`pd.read_sas()` now recognizes much more of the most frequently used date (datetime) formats in SAS7BDAT files (:issue:`15871`).
114
115
- :func:`DataFrame.items` and :func:`Series.items` is now present in both Python 2 and 3 and is lazy in all cases (:issue:`13918`, :issue:`17213`)
115
116
- :func:`Styler.where` has been implemented. It is as a convenience for :func:`Styler.applymap` and enables simple DataFrame styling on the Jupyter notebook (:issue:`17474`).
116
-
117
+
- :func:`MultiIndex.is_monotonic_decreasing` has been implemented. Previously returned ``False`` in all cases. (:issue:`16554`)
117
118
118
119
119
120
.. _whatsnew_0210.api_breaking:
@@ -215,7 +216,7 @@ New Behaviour:
215
216
216
217
Furthermore this will now correctly box the results of iteration for :func:`DataFrame.to_dict` as well.
217
218
218
-
.. ipython:: ipython
219
+
.. ipython:: python
219
220
220
221
d = {'a':[1], 'b':['b']}
221
222
df = pd.DataFrame(d)
@@ -363,7 +364,7 @@ Additionally, DataFrames with datetime columns that were parsed by :func:`read_s
363
364
Consistency of Range Functions
364
365
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
365
366
366
-
In previous versions, there were some inconsistencies between the various range functions: func:`date_range`, func:`bdate_range`, func:`cdate_range`, func:`period_range`, func:`timedelta_range`, and func:`interval_range`. (:issue:`17471`).
367
+
In previous versions, there were some inconsistencies between the various range functions: :func:`date_range`, :func:`bdate_range`, :func:`cdate_range`, :func:`period_range`, :func:`timedelta_range`, and :func:`interval_range`. (:issue:`17471`).
367
368
368
369
One of the inconsistent behaviors occurred when the ``start``, ``end`` and ``period`` parameters were all specified, potentially leading to ambiguous ranges. When all three parameters were passed, ``interval_range`` ignored the ``period`` parameter, ``period_range`` ignored the ``end`` parameter, and the other range functions raised. To promote consistency among the range functions, and avoid potentially ambiguous ranges, ``interval_range`` and ``period_range`` will now raise when all three parameters are passed.
369
370
@@ -524,6 +525,10 @@ Plotting
524
525
^^^^^^^^
525
526
- Bug in plotting methods using ``secondary_y`` and ``fontsize`` not setting secondary axis font size (:issue:`12565`)
526
527
- Bug when plotting ``timedelta`` and ``datetime`` dtypes on y-axis (:issue:`16953`)
528
+
- Line plots no longer assume monotonic x data when calculating xlims, they show the entire lines now even for unsorted x data. (:issue:`11310`)(:issue:`11471`)
529
+
- With matplotlib 2.0.0 and above, calculation of x limits for line plots is left to matplotlib, so that its new default settings are applied. (:issue:`15495`)
530
+
- Bug in ``Series.plot.bar`` or ``DataFramee.plot.bar`` with ``y`` not respecting user-passed ``color`` (:issue:`16822`)
531
+
527
532
528
533
Groupby/Resample/Rolling
529
534
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -568,6 +573,7 @@ Categorical
568
573
- Bug in the categorical constructor with empty values and categories causing
569
574
the ``.categories`` to be an empty ``Float64Index`` rather than an empty
570
575
``Index`` with object dtype (:issue:`17248`)
576
+
- Bug in categorical operations with :ref:`Series.cat <categorical.cat>' not preserving the original Series' name (:issue:`17509`)
0 commit comments