Attributeerror: 'dataframe' Object Has No Attribute 'allah1__27'
I'm trying to solve this and I'm pretty sure the code is right but it keeps getting me the same Error. I have tried this: import datetime from datetime import datetime as datet te
Solution 1:
For the first error: the method isoformat is from datetime that's a method of datetime.
You should:
import datetime
datetime.datetime.isoformat
Or:
from datetime import datetime as datet
datet.isoformat
As for the second error: df is a dictionary, i think you should call it:
df['join_key'] = df['allah1__27'].map(int).....
Post a Comment for "Attributeerror: 'dataframe' Object Has No Attribute 'allah1__27'"