Skip to content

Instantly share code, notes, and snippets.

@aravindpai

aravindpai/cc_8.py

Created Feb 16, 2020
Embed
What would you like to do?
block1 = first[first['score']>=180]
won1 = block1[block1['innings_no']==block1['result']].shape[0]
lost1=block1[block1['innings_no']!=block1['result']].shape[0]
block2 = first[(first['score']>=120) & (first['score']<180) ]
won2 = block2[block2['innings_no']==block2['result']].shape[0]
lost2=block2[block2['innings_no']!=block2['result']].shape[0]
block3 = first[first['score']<120]
won3 = block3[block3['innings_no']==block3['result']].shape[0]
lost3=block3[block3['innings_no']!=block3['result']].shape[0]
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.