I have a working R code to slice rows based on modulus condition, I am trying to achieve same thing in python and any help will be rea
R
modulus
python