We have a problem with exercise 11.2.2, we are not sure why we get the error message that we get. Below is our code, output and error messages. We have also tried where we do not store the result in a dataframe, we get the same error message.




Thanks in advance!