MCPcopy
hub / github.com/dask/dask / categorical_dtype

Function categorical_dtype

dask/dataframe/dispatch.py:85–87  ·  view source on GitHub ↗
(meta, categories=None, ordered=False)

Source from the content-addressed store, hash-verified

83
84
85def categorical_dtype(meta, categories=None, ordered=False):
86 func = categorical_dtype_dispatch.dispatch(type(meta))
87 return func(categories=categories, ordered=ordered)
88
89
90def tolist(obj):

Callers 1

_categorize_blockFunction · 0.90

Calls 2

funcFunction · 0.70
dispatchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…