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 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