From c309096cc5e7c870a760ef1478e36b23abf0093e Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Tue, 7 May 2019 07:57:11 -0700 Subject: [PATCH 1/2] Removed to_panel references --- doc/source/reference/frame.rst | 1 - pandas/core/generic.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst index 568acd5207bd1..cd3e6594f1d1e 100644 --- a/doc/source/reference/frame.rst +++ b/doc/source/reference/frame.rst @@ -243,7 +243,6 @@ Reshaping, sorting, transposing DataFrame.swapaxes DataFrame.melt DataFrame.squeeze - DataFrame.to_panel DataFrame.to_xarray DataFrame.T DataFrame.transpose diff --git a/pandas/core/generic.py b/pandas/core/generic.py index f57b300d1864a..6af5a4d7b9c14 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -206,7 +206,7 @@ def _constructor_sliced(self): @property def _constructor_expanddim(self): """Used when a manipulation result has one higher dimension as the - original, such as Series.to_frame() and DataFrame.to_panel() + original, such as Series.to_frame() """ raise NotImplementedError From 0310c1bc9e547e04bea30265f2b8c357fb7b7261 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Tue, 7 May 2019 08:24:39 -0700 Subject: [PATCH 2/2] Fix concat doc issue --- pandas/core/reshape/concat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index 043efbdc5dc10..c5fa5e42c8b5d 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -34,7 +34,7 @@ def concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False, Parameters ---------- - objs : a sequence or mapping of Series or DataFrame objects. + objs : a sequence or mapping of Series or DataFrame objects If a dict is passed, the sorted keys will be used as the `keys` argument, unless it is passed, in which case the values will be selected (see below). Any None objects will be dropped silently unless