I've the following dataframe containing floats as input and would like to compute how many values are in range 0;90 and 90;180. The output dataframe was obtained using frequency() function from excel.
[Input dataframe]

[Desired output]

I'd like to do the same thing with python but didn't find a solution. Do you have any suggestion ?
I can also provide source files if needed.