def METHOD_NAME():
    # In a file with many contigs, bins/chrom does not have an ENUM header,
    # so chromosome names are taken from the chroms/name
    clr = api.Cooler(op.join(datadir, "manycontigs.1.cool"))
    bins = clr.bins()[:10]
    assert pd.api.types.is_categorical_dtype(bins["chrom"].dtype)
    bins = clr.bins()[['chrom', 'start']][:10]
    assert pd.api.types.is_categorical_dtype(bins["chrom"].dtype)
    chroms = clr.bins()['chrom'][:10]
    clr.bins()['start'][:10]
    assert pd.api.types.is_categorical_dtype(chroms.dtype)