text_plain_output_1.png
import pandas as pd

df = pd.read_csv('/kaggle/input/playoff_shots.csv')

dict_player = {}
for team in df['team'].unique():
    dict_player[team] = df[df['team'] == team]['player_name'].unique()

display(dict_player['Cleveland Cavaliers'])