radical simplification with pandas