Consult everybody, I am using pandas do excel table processing, when in use in some problems, such as:
In: t1=other. Iloc [0, "account")
In: t1
Out: 2015017733
In: t1 dype
Out: dtype (" int64 ")
In: other. (" account ")
Out: dtype (' int64)
In: 2015017733 in other
Out: False
Why use in queries fail? Even if is to use "2015017733" in other remains returns False, is what reason is this excuse me
CodePudding user response:
Print (other) [r]. "account" the isin ([2015017733]))
CodePudding user response:
Print ([2015017733] in other [r]. "accounts" tolist ())
CodePudding user response:
Not the list, although use the set is no problem, just don't know the reason why not
CodePudding user response: