how to find the mode using pandas groupby

Solutions on MaxInterview for how to find the mode using pandas groupby by the best coders in the world