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.24.2.rst
+7-45
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
.. _whatsnew_0242:
4
4
5
-
Whats New in 0.24.2 (February XX, 2019)
6
-
---------------------------------------
5
+
Whats New in 0.24.2 (March 12, 2019)
6
+
------------------------------------
7
7
8
8
.. warning::
9
9
@@ -18,7 +18,7 @@ including other versions of pandas.
18
18
.. _whatsnew_0242.regressions:
19
19
20
20
Fixed Regressions
21
-
^^^^^^^^^^^^^^^^^
21
+
~~~~~~~~~~~~~~~~~
22
22
23
23
- Fixed regression in :meth:`DataFrame.all` and :meth:`DataFrame.any` where ``bool_only=True`` was ignored (:issue:`25101`)
24
24
- Fixed issue in ``DataFrame`` construction with passing a mixed list of mixed types could segfault. (:issue:`25075`)
@@ -31,71 +31,32 @@ Fixed Regressions
31
31
- Fixed regression in ``IntervalDtype`` construction where passing an incorrect string with 'Interval' as a prefix could result in a ``RecursionError``. (:issue:`25338`)
32
32
- Fixed regression in creating a period-dtype array from a read-only NumPy array of period objects. (:issue:`25403`)
33
33
- Fixed regression in :class:`Categorical`, where constructing it from a categorical ``Series`` and an explicit ``categories=`` that differed from that in the ``Series`` created an invalid object which could trigger segfaults. (:issue:`25318`)
34
+
- Fixed regression in :func:`to_timedelta` losing precision when converting floating data to ``Timedelta`` data (:issue:`25077`).
34
35
- Fixed pip installing from source into an environment without NumPy (:issue:`25193`)
36
+
- Fixed regression in :meth:`DataFrame.replace` where large strings of numbers would be coerced into ``int64``, causing an ``OverflowError`` (:issue:`25616`)
37
+
- Fixed regression in :func:`factorize` when passing a custom ``na_sentinel`` value with ``sort=True`` (:issue:`25409`).
35
38
- Fixed regression in :meth:`DataFrame.to_csv` writing duplicate line endings with gzip compress (:issue:`25311`)
36
39
37
-
.. _whatsnew_0242.enhancements:
38
-
39
-
Enhancements
40
-
^^^^^^^^^^^^
41
-
42
-
-
43
-
-
44
-
45
40
.. _whatsnew_0242.bug_fixes:
46
41
47
42
Bug Fixes
48
43
~~~~~~~~~
49
44
50
-
**Conversion**
51
-
52
-
-
53
-
-
54
-
-
55
-
56
-
**Indexing**
57
-
58
-
-
59
-
-
60
-
-
61
-
62
45
**I/O**
63
46
64
47
- Better handling of terminal printing when the terminal dimensions are not known (:issue:`25080`)
65
48
- Bug in reading a HDF5 table-format ``DataFrame`` created in Python 2, in Python 3 (:issue:`24925`)
66
49
- Bug in reading a JSON with ``orient='table'`` generated by :meth:`DataFrame.to_json` with ``index=False`` (:issue:`25170`)
67
50
- Bug where float indexes could have misaligned values when printing (:issue:`25061`)
68
-
-
69
-
70
-
**Categorical**
71
-
72
-
-
73
-
-
74
-
-
75
-
76
-
**Timezones**
77
-
78
-
-
79
-
-
80
-
-
81
-
82
-
**Timedelta**
83
-
84
-
-
85
-
-
86
-
-
87
51
88
52
**Reshaping**
89
53
90
54
- Bug in :meth:`~pandas.core.groupby.GroupBy.transform` where applying a function to a timezone aware column would return a timezone naive result (:issue:`24198`)
91
55
- Bug in :func:`DataFrame.join` when joining on a timezone aware :class:`DatetimeIndex` (:issue:`23931`)
92
-
-
93
56
94
57
**Visualization**
95
58
96
59
- Bug in :meth:`Series.plot` where a secondary y axis could not be set to log scale (:issue:`25545`)
97
-
-
98
-
-
99
60
100
61
**Other**
101
62
@@ -130,6 +91,7 @@ A total of 25 people contributed patches to this release. People with a "+" by t
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.25.0.rst
+8-3
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Other Enhancements
26
26
- :meth:`DataFrame.set_index` now works for instances of ``abc.Iterator``, provided their output is of the same length as the calling frame (:issue:`22484`, :issue:`24984`)
27
27
- :meth:`DatetimeIndex.union` now supports the ``sort`` argument. The behaviour of the sort parameter matches that of :meth:`Index.union` (:issue:`24994`)
28
28
- :meth:`DataFrame.rename` now supports the ``errors`` argument to raise errors when attempting to rename nonexistent keys (:issue:`13473`)
29
+
- :class:`RangeIndex` has gained :attr:`~RangeIndex.start`, :attr:`~RangeIndex.stop`, and :attr:`~RangeIndex.step` attributes (:issue:`25710`)
29
30
30
31
.. _whatsnew_0250.api_breaking:
31
32
@@ -86,14 +87,15 @@ Other API Changes
86
87
- :class:`DatetimeTZDtype` will now standardize pytz timezones to a common timezone instance (:issue:`24713`)
87
88
- ``Timestamp`` and ``Timedelta`` scalars now implement the :meth:`to_numpy` method as aliases to :meth:`Timestamp.to_datetime64` and :meth:`Timedelta.to_timedelta64`, respectively. (:issue:`24653`)
88
89
- :meth:`Timestamp.strptime` will now rise a ``NotImplementedError`` (:issue:`25016`)
89
-
-
90
+
- Bug in :meth:`DatetimeIndex.snap` which didn't preserving the ``name`` of the input :class:`Index` (:issue:`25575`)
90
91
91
92
.. _whatsnew_0250.deprecations:
92
93
93
94
Deprecations
94
95
~~~~~~~~~~~~
95
96
96
97
- Deprecated the `M (months)` and `Y (year)` `units` parameter of :func: `pandas.to_timedelta`, :func: `pandas.Timedelta` and :func: `pandas.TimedeltaIndex` (:issue:`16344`)
98
+
- The functions :func:`pandas.to_datetime` and :func:`pandas.to_timedelta` have deprecated the ``box`` keyword. Instead, use :meth:`to_numpy` or :meth:`Timestamp.to_datetime64`/:meth:`Timedelta.to_timedelta64`. (:issue:`24416`)
97
99
98
100
.. _whatsnew_0250.prior_deprecations:
99
101
@@ -122,7 +124,7 @@ Bug Fixes
122
124
~~~~~~~~~
123
125
- Bug in :func:`to_datetime` which would raise an (incorrect) ``ValueError`` when called with a date far into the future and the ``format`` argument specified instead of raising ``OutOfBoundsDatetime`` (:issue:`23830`)
124
126
- Bug in an error message in :meth:`DataFrame.plot`. Improved the error message if non-numerics are passed to :meth:`DataFrame.plot` (:issue:`25481`)
125
-
- Fixed bug where :class:`api.extensions.ExtensionArray` could not be used in matplotlib plotting (:issue:`25587`)
127
+
- Bug in error messages in :meth:`DataFrame.corr` and :meth:`Series.corr`. Added the possibility of using a callable. (:issue:`25729`)
126
128
127
129
Categorical
128
130
^^^^^^^^^^^
@@ -214,14 +216,16 @@ I/O
214
216
- Bug in :func:`read_json` for ``orient='table'`` when it tries to infer dtypes by default, which is not applicable as dtypes are already defined in the JSON schema (:issue:`21345`)
215
217
- Bug in :func:`read_json` for ``orient='table'`` and float index, as it infers index dtype by default, which is not applicable because index dtype is already defined in the JSON schema (:issue:`25433`)
216
218
- Bug in :func:`read_json` for ``orient='table'`` and string of float column names, as it makes a column name type conversion to Timestamp, which is not applicable because column names are already defined in the JSON schema (:issue:`25435`)
219
+
- Bug in :func:`json_normalize` for ``errors='ignore'`` where missing values in the input data, were filled in resulting ``DataFrame`` with the string "nan" instead of ``numpy.nan`` (:issue:`25468`)
217
220
- :meth:`DataFrame.to_html` now raises ``TypeError`` when using an invalid type for the ``classes`` parameter instead of ``AsseertionError`` (:issue:`25608`)
218
-
-
221
+
- Bug in :meth:`DataFrame.to_string` and :meth:`DataFrame.to_latex` that would lead to incorrect output when the ``header`` keyword is used (:issue:`16718`)
219
222
-
220
223
221
224
222
225
Plotting
223
226
^^^^^^^^
224
227
228
+
- Fixed bug where :class:`api.extensions.ExtensionArray` could not be used in matplotlib plotting (:issue:`25587`)
225
229
-
226
230
-
227
231
-
@@ -241,6 +245,7 @@ Reshaping
241
245
- Bug in :func:`pandas.merge` adds a string of ``None`` if ``None`` is assigned in suffixes instead of remain the column name as-is (:issue:`24782`).
242
246
- Bug in :func:`merge` when merging by index name would sometimes result in an incorrectly numbered index (:issue:`24212`)
243
247
- :func:`to_records` now accepts dtypes to its `column_dtypes` parameter (:issue:`24895`)
248
+
- Bug in :func:`concat` where order of ``OrderedDict`` (and ``dict`` in Python 3.6+) is not respected, when passed in as ``objs`` argument (:issue:`21510`)
0 commit comments