def get_unity(data, value=1):
    data_copy = data.copy()
    data_copy['_charts_ones'] = value
    return data_copy['_charts_ones']
Returns a column of ones with the same length as input data.
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/utils.py/get_unity