def list_team_players(dataframe, team):
    """Lists the players in `dataframe` who took shots for a `team`"""
    return dataframe.loc[dataframe['team'] == team].groupby('shots_by'
        ).shots_by.count().reset_index(name='count').sort_values(['count'],
        ascending=False)
