Skip to content

Commit 35284b5

Browse files
committed
Merge pull request #10858 from behzadnouri/cat-attr
removes categories & ordered from CategoricalIndex attributes
2 parents 3e35c84 + 96b7e27 commit 35284b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2910,7 +2910,7 @@ class CategoricalIndex(Index, PandasDelegate):
29102910

29112911
_typ = 'categoricalindex'
29122912
_engine_type = _index.Int64Engine
2913-
_attributes = ['name','categories','ordered']
2913+
_attributes = ['name']
29142914

29152915
def __new__(cls, data=None, categories=None, ordered=None, dtype=None, copy=False, name=None, fastpath=False, **kwargs):
29162916

0 commit comments

Comments
 (0)