def makeCategoricalIndex(k=<NUM_LIT:10>, n=<NUM_LIT:3>, name=None, **kwargs):
x = rands_array(nchars=<NUM_LIT:4>, size=n)<EOL>return CategoricalIndex(np.random.choice(x, k), name=name, **kwargs)<EOL>
make a length k index or n categories