Sports, Statistics, Data Science, Injury, Sports Analytics.
np.random.uniform(2, 5, num_players), 'y (s)': np.random.uniform(1, 3, num_players), 'z (s)': np.random.uniform(0.5, 1.5, num_players), 'Injury': np.random.choice([0, 1], size=num_players, p=[0.8, 0.2]) } # Create a DataFrame player_data = pd.DataFrame(data) player_data.head(10)