Skip to content

Commit a0ee90a

Browse files
Docs: remove duplicated code example (#50187)
1 parent 68537e3 commit a0ee90a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

doc/source/user_guide/basics.rst

-6
Original file line numberDiff line numberDiff line change
@@ -1213,12 +1213,6 @@ With a DataFrame, you can simultaneously reindex the index and columns:
12131213
df
12141214
df.reindex(index=["c", "f", "b"], columns=["three", "two", "one"])
12151215
1216-
You may also use ``reindex`` with an ``axis`` keyword:
1217-
1218-
.. ipython:: python
1219-
1220-
df.reindex(["c", "f", "b"], axis="index")
1221-
12221216
Note that the ``Index`` objects containing the actual axis labels can be
12231217
**shared** between objects. So if we have a Series and a DataFrame, the
12241218
following can be done:

0 commit comments

Comments
 (0)