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
Requesting all columns is possible with the shorthand 'all'
1038
1055
1039
-
.. ipython:: python
1056
+
.. code-block:: python
1040
1057
1041
-
df.describe(include='all')
1058
+
>>> df.describe(include='all')
1059
+
catA catB numC numD
1060
+
count 242424.00000024.000000
1061
+
unique 24 NaN NaN
1062
+
top foo a NaN NaN
1063
+
freq 166 NaN NaN
1064
+
mean NaN NaN 11.50000012.000000
1065
+
std NaN NaN 7.0710687.071068
1066
+
min NaN NaN 0.0000000.500000
1067
+
25% NaN NaN 5.7500006.250000
1068
+
50% NaN NaN 11.50000012.000000
1069
+
75% NaN NaN 17.25000017.750000
1070
+
max NaN NaN 23.00000023.500000
1042
1071
1043
1072
Without those arguments, ``describe`` will behave as before, including only numerical columns or, if none are, only categorical columns. See also the :ref:`docs <basics.describe>`
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,6 +414,8 @@ Other API changes
414
414
- Index set operations (like union or intersection) will now ignore the dtype of
415
415
an empty ``RangeIndex`` or empty ``Index`` with object dtype when determining
416
416
the dtype of the resulting Index (:issue:`60797`)
417
+
- :class:`IncompatibleFrequency` now subclasses ``TypeError`` instead of ``ValueError``. As a result, joins with mismatched frequencies now cast to object like other non-comparable joins, and arithmetic with indexes with mismatched frequencies align (:issue:`55782`)
418
+
- Comparison operations between :class:`Index` and :class:`Series` now consistently return :class:`Series` regardless of which object is on the left or right (:issue:`36759`)
417
419
- Numpy functions like ``np.isinf`` that return a bool dtype when called on a :class:`Index` object now return a bool-dtype :class:`Index` instead of ``np.ndarray`` (:issue:`52676`)
- Bug in :attr:`is_year_start` where a DateTimeIndex constructed via a date_range with frequency 'MS' wouldn't have the correct year or quarter start attributes (:issue:`57377`)
694
696
- Bug in :class:`DataFrame` raising ``ValueError`` when ``dtype`` is ``timedelta64`` and ``data`` is a list containing ``None`` (:issue:`60064`)
695
697
- Bug in :class:`Timestamp` constructor failing to raise when ``tz=None`` is explicitly specified in conjunction with timezone-aware ``tzinfo`` or data (:issue:`48688`)
698
+
- Bug in :class:`Timestamp` constructor failing to raise when given a ``np.datetime64`` object with non-standard unit (:issue:`25611`)
696
699
- Bug in :func:`date_range` where the last valid timestamp would sometimes not be produced (:issue:`56134`)
697
700
- Bug in :func:`date_range` where using a negative frequency value would not include all points between the start and end values (:issue:`56147`)
698
701
- Bug in :func:`tseries.api.guess_datetime_format` would fail to infer time format when "%Y" == "%H%M" (:issue:`57452`)
0 commit comments