def METHOD_NAME(num_bins, dtype=np.int_):
    num_bins_1 = int(np.ceil(num_bins / 2))
    num_bins_2 = num_bins - num_bins_1
    return np.concatenate(
        (
            np.arange(dtype(1), dtype(num_bins_1 + 1)),
            np.arange(dtype(num_bins_2), dtype(1 - 1), step=-1),
        )
    )