Python Pandas Group By With Condition Stack Overflow

Python Pandas Group By With Condition Stack Overflow