Categorical: ensure that one can assign np.nan