Created
February 16, 2020 14:08
-
-
Save aravindpai/53ac3c8d12fe5f7ba0717014ee28692e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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