Skip to content

Commit 9092445

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
CategoricalDtype construction: actually use fastpath (#17891)
1 parent 34978a7 commit 9092445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/dtypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _finalize(self, categories, ordered, fastpath=False):
178178
if categories is not None:
179179
categories = Index(categories, tupleize_cols=False)
180180
# validation
181-
self._validate_categories(categories)
181+
self._validate_categories(categories, fastpath=fastpath)
182182
self._validate_ordered(ordered)
183183
self._categories = categories
184184
self._ordered = ordered

0 commit comments

Comments
 (0)