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.20.0.rst
+50-14
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,6 @@ Check the :ref:`API Changes <whatsnew_0200.api_breaking>` and :ref:`deprecations
45
45
New features
46
46
~~~~~~~~~~~~
47
47
48
-
.. ipython:: python
49
-
:suppress:
50
-
51
-
import pandas.util.testing as tm
52
-
53
48
.. _whatsnew_0200.enhancements.agg:
54
49
55
50
``agg`` API for DataFrame/Series
@@ -1363,24 +1358,65 @@ Deprecate Panel
1363
1358
with a ``MultiIndex`` on a ``DataFrame`` via the :meth:`~Panel.to_frame` or with the `xarray package <http://xarray.pydata.org/en/stable/>`__. Pandas
1364
1359
provides a :meth:`~Panel.to_xarray` method to automate this conversion. For more details see :ref:`Deprecate Panel <dsintro.deprecate_panel>` documentation. (:issue:`13563`).
1365
1360
1366
-
.. ipython:: python
1367
-
:okwarning:
1361
+
.. code-block:: ipython
1368
1362
1369
-
p = tm.makePanel()
1370
-
p
1363
+
In [133]: import pandas.util.testing as tm
1364
+
1365
+
In [134]: p = tm.makePanel()
1366
+
1367
+
In [135]: p
1368
+
Out[135]:
1369
+
<class 'pandas.core.panel.Panel'>
1370
+
Dimensions: 3 (items) x 3 (major_axis) x 4 (minor_axis)
1371
+
Items axis: ItemA to ItemC
1372
+
Major_axis axis: 2000-01-03 00:00:00 to 2000-01-05 00:00:00
0 commit comments