finding the min and max with pandas using ps output