First, You are dividing a single value from value with the whole column Happiness Score or all values from the ‘Happiness Score’ column one by one. But you need only one value from it with the corresponding index.
Second, You need to assign the axis parameter in the method apply to understand how values to send either row or column-wise. By default axis=0 i.e. row-wise.
Hello, what is the value column? The instructions say to convert it to a percentage but there is no value column in the happiness2015 dataframe, as far as I can tell.