It has a data frame in the form shown above.
Convert this data frame to pivot_table
However, the data frame that I want is range(0,10) for grid_x a