Currently, only 'bool' and 'object' are supported as categorical dtypes. For efficiency, it would be nice if 'category' is supported as well.