I would like to delete rows that contain only values that are less than 10 and greater than 25. My sample dataframe will look like this:
a   b   c  
1   2   3  
4   5   16  
11  24  22  
26  50  65  
Expected Output:
a   b   c  
1   2   3  
4   5   16   
26  50  65  
So if the row contains any value less than 10 or greater than 25, then the row will stay in dataframe, otherwise, it needs to be dropped.
Is there any way I can achieve this with Pandas instead of iterating through all the rows?
 
     
     
     
    