Python Dataframe Object Has No Attribute Status Code 302