I\'m trying to process a dataframe based on range numbers. For that, I created thid function:
def construct_candles(data,indexes,index_mapper,point_value=0.001,