Skip to content

Instantly share code, notes, and snippets.



Last active Feb 19, 2020
What would you like to do?
print("Avg no. of balls to hit 4:",batting_df.shape[0]/batting_df['runs'].value_counts()[4])
print("Avg no. of balls to hit 6:",batting_df.shape[0]/batting_df['runs'].value_counts()[6])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment