Skip to content

Commit f6e8aa9

Browse files
authored
Merge pull request #9 from Giftlin/Giftlin-patch-1-1
Update categorical.rst
2 parents a94d52a + 73f5241 commit f6e8aa9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/categorical.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.. currentmodule:: pandas
44

55
.. ipython:: python
6-
:suppress:
6+
  :suppress:
77
88
import numpy as np
99
import pandas as pd
@@ -144,8 +144,9 @@ Using ``.describe()`` on categorical data will produce similar output to a `Seri
144144
cat = pd.Categorical(["a", "c", "c", np.nan], categories=["b", "a", "c"])
145145
df = pd.DataFrame({"cat":cat, "s":["a", "c", "c", np.nan]})
146146
df.describe()
147-
df["cat"].describe()
147+
   df["cat"].describe()
148148
149+
.. _categorical.cat:
149150
Working with categories
150151
-----------------------
151152

0 commit comments

Comments
 (0)