def get_bins(data):
    bins = np.unique(data)
    return np.append(bins[~np.isnan(bins)], max(bins) + 1)

# Load the data from the figure.
Delete a pipeline, its pipeline definition, and its run history. This function is idempotent.
dataset/ETHPy150Open cgarrard/osgeopy-code/Chapter11/chapter11.py/get_bins--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/boto_datapipeline.py/delete_pipeline