From 7d4384a5da9ad1b7e1939390711584ba1c1e25a2 Mon Sep 17 00:00:00 2001 From: Anush Shetty Date: Mon, 15 Jun 2015 16:52:42 +0530 Subject: [PATCH] Fixing the code sample in pandas/core/categorical.py --- pandas/core/categorical.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index a9e5d1f3f0ebd..05f2e6516292a 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -183,6 +183,7 @@ class Categorical(PandasObject): Categories (3, object): [a < b < c] >>> a = Categorical(['a','b','c','a','b','c'], ['c', 'b', 'a']) + >>> a = a.as_ordered() >>> a.min() 'c' """