Skip to content

Commit 16bf072

Browse files
committed
Merge pull request #7800 from lexual/indexing_docs_structure_fix
Correct docs structure in indexing docs.
2 parents 9314b9b + 1fa1a05 commit 16bf072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/indexing.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -2170,7 +2170,7 @@ add an index after you've already done so. There are a couple of different
21702170
ways.
21712171

21722172
Add an index using DataFrame columns
2173-
------------------------------------
2173+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21742174

21752175
.. _indexing.set_index:
21762176

@@ -2213,7 +2213,7 @@ the index in-place (without creating a new object):
22132213
data
22142214
22152215
Remove / reset the index, ``reset_index``
2216-
------------------------------------------
2216+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22172217

22182218
As a convenience, there is a new function on DataFrame called ``reset_index``
22192219
which transfers the index values into the DataFrame's columns and sets a simple
@@ -2244,7 +2244,7 @@ discards the index, instead of putting index values in the DataFrame's columns.
22442244
deprecated.
22452245

22462246
Adding an ad hoc index
2247-
----------------------
2247+
~~~~~~~~~~~~~~~~~~~~~~
22482248

22492249
If you create an index yourself, you can just assign it to the ``index`` field:
22502250

0 commit comments

Comments
 (0)