text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

team_stats = pd.read_csv('/kaggle/input/college-basketball-dataset/cbb.csv')

team_stats.groupby('YEAR').size()

team_stats.groupby('TEAM').size()[team_stats.groupby('TEAM').size() == 1]

avg_off = team_stats['ADJOE'].mean()
avg_def = team_stats['ADJDE'].mean()

team_stats[team_stats['POSTSEASON'] == 'Champions']['ADJOE'].mean() - avg_off