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.1.rst
+36-47
Original file line number
Diff line number
Diff line change
@@ -13,65 +13,56 @@ Whats New in 0.24.1 (February XX, 2019)
13
13
{{ header }}
14
14
15
15
These are the changes in pandas 0.24.1. See :ref:`release` for a full changelog
16
-
including other versions of pandas.
16
+
including other versions of pandas. See :ref:`whatsnew_0240` for the 0.24.0 changelog.
17
17
18
-
.. _whatsnew_0241.regressions:
19
-
20
-
Fixed Regressions
21
-
^^^^^^^^^^^^^^^^^
18
+
.. _whatsnew_0241.api:
22
19
23
-
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``AttributeError`` when the ``DataFrame`` contained more than 255 columns (:issue:`24939`)
24
-
- Bug in :meth:`DataFrame.itertuples` orient converting integer column names to strings prepended with an underscore (:issue:`24940`)
25
-
- Fixed regression in :func:`read_sql` when passing certain queries with MySQL/pymysql (:issue:`24988`).
26
-
- Fixed regression in :class:`Index.intersection` incorrectly sorting the values by default (:issue:`24959`).
27
-
- Fixed regression in :func:`merge` when merging an empty ``DataFrame`` with multiple timezone-aware columns on one of the timezone-aware columns (:issue:`25014`).
20
+
API Changes
21
+
~~~~~~~~~~~
28
22
29
-
.. _whatsnew_0241.enhancements:
23
+
Changing the ``sort`` parameter for :class:`Index` set operations
The default ``sort`` value for :meth:`Index.union` has changed from ``True`` to ``None`` (:issue:`24959`).
27
+
The default *behavior*, however, remains the same: the result is sorted, unless
33
28
29
+
1. ``self`` and ``other`` are identical
30
+
2. ``self`` or ``other`` is empty
31
+
3. ``self`` or ``other`` contain values that can not be compared (a ``RuntimeWarning`` is raised).
34
32
35
-
.. _whatsnew_0241.bug_fixes:
36
-
37
-
Bug Fixes
38
-
~~~~~~~~~
39
-
- Bug in :meth: `Timestamp` supporting %z (:issue:`21257`).
40
-
**Conversion**
41
-
42
-
-
43
-
-
44
-
-
33
+
This change will allow ``sort=True`` to mean "always sort" in a future release.
45
34
46
-
**Indexing**
35
+
The same change applies to :meth:`Index.difference` and :meth:`Index.symmetric_difference`, which
36
+
would not sort the result when the values could not be compared.
47
37
48
-
-
49
-
-
50
-
-
38
+
The `sort` option for :meth:`Index.intersection` has changed in three ways.
51
39
52
-
**I/O**
40
+
1. The default has changed from ``True`` to ``False``, to restore the
41
+
pandas 0.23.4 and earlier behavior of not sorting by default.
42
+
2. The behavior of ``sort=True`` can now be obtained with ``sort=None``.
43
+
This will sort the result only if the values in ``self`` and ``other``
44
+
are not identical.
45
+
3. The value ``sort=True`` is no longer allowed. A future version of pandas
46
+
will properly support ``sort=True`` meaning "always sort".
53
47
54
-
-
55
-
-
56
-
-
57
-
58
-
**Categorical**
48
+
.. _whatsnew_0241.regressions:
59
49
60
-
-
61
-
-
62
-
-
50
+
Fixed Regressions
51
+
~~~~~~~~~~~~~~~~~
63
52
64
-
**Timezones**
53
+
- Fixed regression in :meth:`DataFrame.to_dict` with ``records`` orient raising an
54
+
``AttributeError`` when the ``DataFrame`` contained more than 255 columns, or
55
+
wrongly converting column names that were not valid python identifiers (:issue:`24939`, :issue:`24940`).
56
+
- Fixed regression in :func:`read_sql` when passing certain queries with MySQL/pymysql (:issue:`24988`).
57
+
- Fixed regression in :class:`Index.intersection` incorrectly sorting the values by default (:issue:`24959`).
58
+
- Fixed regression in :func:`merge` when merging an empty ``DataFrame`` with multiple timezone-aware columns on one of the timezone-aware columns (:issue:`25014`).
59
+
- Fixed regression in :meth:`Series.rename_axis` and :meth:`DataFrame.rename_axis` where passing ``None`` failed to remove the axis name (:issue:`25034`)
60
+
- Fixed regression in :func:`to_timedelta` with `box=False` incorrectly returning a ``datetime64`` object instead of a ``timedelta64`` object (:issue:`24961`)
65
61
66
-
-
67
-
-
68
-
-
62
+
.. _whatsnew_0241.bug_fixes:
69
63
70
-
**Timedelta**
71
-
- Bug in :func:`to_timedelta` with `box=False` incorrectly returning a ``datetime64`` object instead of a ``timedelta64`` object (:issue:`24961`)
72
-
-
73
-
-
74
-
-
64
+
Bug Fixes
65
+
~~~~~~~~~
75
66
76
67
**Reshaping**
77
68
@@ -81,11 +72,9 @@ Bug Fixes
81
72
82
73
- Fixed the warning for implicitly registered matplotlib converters not showing. See :ref:`whatsnew_0211.converters` for more (:issue:`24963`).
83
74
84
-
85
75
**Other**
86
76
87
77
- Fixed AttributeError when printing a DataFrame's HTML repr after accessing the IPython config object (:issue:`25036`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.25.0.rst
+4-11
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,9 @@ including other versions of pandas.
19
19
Other Enhancements
20
20
^^^^^^^^^^^^^^^^^^
21
21
22
+
- :meth:`Timestamp.replace` now supports the ``fold`` argument to disambiguate DST transition times (:issue:`25017`)
22
23
-
23
24
-
24
-
-
25
-
26
-
.. _whatsnew_0250.performance:
27
-
28
-
Performance Improvements
29
-
~~~~~~~~~~~~~~~~~~~~~~~~
30
-
- Significant speedup in `SparseArray` initialization that benefits most operations, fixing performance regression introduced in v0.20.0 (:issue:`24985`)
31
-
32
-
33
25
34
26
.. _whatsnew_0250.api_breaking:
35
27
@@ -69,8 +61,8 @@ Removal of prior version deprecations/changes
69
61
Performance Improvements
70
62
~~~~~~~~~~~~~~~~~~~~~~~~
71
63
72
-
-
73
-
-
64
+
- Significant speedup in `SparseArray` initialization that benefits most operations, fixing performance regression introduced in v0.20.0 (:issue:`24985`)
65
+
- `DataFrame.to_stata()` is now faster when outputting data with any string or non-native endian columns (:issue:`25045`)
74
66
-
75
67
76
68
@@ -165,6 +157,7 @@ MultiIndex
165
157
I/O
166
158
^^^
167
159
160
+
- Fixed bug in missing text when using :meth:`to_clipboard` if copying utf-16 characters in Python 3 on Windows (:issue:`25040`)
0 commit comments