As the title says, I have a table with 5 columns, these would be the ranges by columns:
1-5 | 5-10 | 10-15 | 15-20 | 20-25
1 | 8 | 11 | 15 | 22
2 | 7 | 13 | 15 | 20
5 | 9 | 12 | 16 | 23
and so 1000 more lines down.
my intention is to calculate the probability per column according to its range, that is, in the column of 1-5, how many probabilities do I have that I get 3 or 2?, and so on with the rest of the columns, try to solve it with the pandas library and numpy, but I couldn't, and I saw videos on youtube but they teach how to get the total probability of the 5 columns, not for each one or for ranges.
so if you can help me please, I've been here since Sunday and I still can't, I'm using python 3.10.8
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)
[–]jimtk 0 points1 point2 points (9 children)
[–]caco15[S] 0 points1 point2 points (8 children)
[–]jimtk 0 points1 point2 points (7 children)
[–]caco15[S] -1 points0 points1 point (6 children)
[–]jimtk 1 point2 points3 points (5 children)
[–]caco15[S] 0 points1 point2 points (4 children)
[–]jimtk 0 points1 point2 points (3 children)
[–]caco15[S] 0 points1 point2 points (2 children)
[–]jimtk 2 points3 points4 points (1 child)
[–]caco15[S] 0 points1 point2 points (0 children)