Created
March 28, 2020 15:53
-
-
Save mchirico/474676c6b17b6010262fa2d2bae4583e 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
def getID(x): | |
idX0 = Function2id.get(x[0],-1) | |
return idX0 | |
d['FunID']=d[['Function']].apply(getID, axis=1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment