Debugging:the googleAPI.py translate the address into longitude and latitude, getting the distance and duration toward the target address, and add them as two columns to the Copy_of_apartment.csv, but...

1 answer below »
Debugging:the googleAPI.py translate the address into longitude and latitude, getting the distance and duration toward the target address, and add them as two columns to the Copy_of_apartment.csv, but it's now throwing a bug of "AttributeError: 'NoneType' object has no attribute 'latitude'"





The goal is to combine the distance column and duration column fromdef google_info() with theCopy_of_apartment.csv as a complete dataframe








After combining the two dataframes, modify the mainpy.py to include the duration as a filter as well, and return the desire dataframe.





Answered Same DayDec 11, 2022

Answer To: Debugging:the googleAPI.py translate the address into longitude and latitude, getting the distance...

Priye answered on Dec 11 2022
37 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here