CategoricalIndex.drop_duplicates()
pandas.CategoricalIndex.drop_duplicates
-
CategoricalIndex.drop_duplicates(*args, **kwargs)
-
Return Index with duplicate values removed
Parameters: keep : {‘first’, ‘last’, False}, default ‘first’
-
first
: Drop duplicates except for the first occurrence. -
last
: Drop duplicates except for the last occurrence. - False : Drop all duplicates.
take_last : deprecated
Returns: deduplicated登录查看完整内容
-