Pandas - get first n-rows based on percentage Pandas - get first n-rows based on percentage python python