I have a dataframe main_df. I have generated half open or semi closed intervals given a step size 1. The data and code are as follow.
mainList= [[0.3, 0.2, 0.2, 0