Skip to content

Commit

Permalink
Docs: remove duplicated code example (#50187)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianRoll committed Dec 11, 2022
1 parent 68537e3 commit a0ee90a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions doc/source/user_guide/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a0ee90a

Please sign in to comment.