Skip to content

Instantly share code, notes, and snippets.

@aravindpai

aravindpai/cc_9.py

Created Feb 16, 2020
Embed
What would you like to do?
batting_df=df[df['batting_team']=='ind']
bowling_df=df[df['bowling_team']=='ind']
#strike rate of indian team
sr=(np.sum(batting_df['runs'].values)/batting_df.shape[0])*100
print("Strike rate of Indian team:",sr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.