pandas.Categorical.set_ordered¶
- Categorical.set_ordered(value, inplace=False)¶
Sets the ordered attribute to the boolean value
Parameters : value : boolean to set whether this categorical is ordered (True) or not (False)
inplace : boolean (default: False)
Whether or not to set the ordered attribute inplace or return a copy of this categorical with ordered set to the value