Hi i am trying to replicate this exercise in jupyter
The code is the same that has worked on the platform:
I am using the same code in jupyter but is showing this error
AttributeError: ‘numpy.int64’ object has no attribute ‘fillna’
when i look at the type of element “combined[“HAPPINESS SCORE UPDATED”]” jupyter says is a <class ‘numpy.int64’> but it should be a dataframe right? i also tried to change it using pd.DataFrame() but is not working.
Can anyone help me please?