May-18-2021, 01:59 PM
Hmm.... 'Is not working'....
One should be specific while looking for help. I for example don't understand the problem/question. I have no idea how data from csv is read into dataframe etc. Therefore I repeat my earlier answer with some additional lines:
Quote:"… There's no more work. We're destitute. I'm afraid I have no choice but to sell you all for scientific experiments."
–The Meaning of Life
One should be specific while looking for help. I for example don't understand the problem/question. I have no idea how data from csv is read into dataframe etc. Therefore I repeat my earlier answer with some additional lines:
>>> df = pd.DataFrame(range(1, 4)) >>> df 0 0 1 1 2 2 3 >>> from_user = input('Enter integer: ') Enter integer: 1 >>> from_user in df[0] False >>> from_user = int(input('Enter integer: ')) Enter integer: 1 >>> from_user in df[0] True
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.