diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index 2204c8b04e438..786192e8c3ebd 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -1213,12 +1213,6 @@ With a DataFrame, you can simultaneously reindex the index and columns: df df.reindex(index=["c", "f", "b"], columns=["three", "two", "one"]) -You may also use ``reindex`` with an ``axis`` keyword: - -.. ipython:: python - - df.reindex(["c", "f", "b"], axis="index") - Note that the ``Index`` objects containing the actual axis labels can be **shared** between objects. So if we have a Series and a DataFrame, the following can be done: