Created
August 30, 2020 11:55
-
-
Save lafftar/9cd3e18906adec477d9cfbefa04cec1b to your computer and use it in GitHub Desktop.
GTA Cities Real Estate - 27 Cities - Quick Data Study - 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dump.append({ | |
"City": element.text, | |
"Average Property Price": avg_prop_price, | |
"10 Year Rate of Change": ten_years_roc, | |
"5 Year Rate of Change": five_years_roc, | |
"1 Year Rate of Change": one_year_roc, | |
"3 Bedroom Home Price": three_bed_home, | |
"Url": url | |
}) | |
print(f"Done scraping {element.text}") | |
print('========================================') | |
data_frame = DataFrame(dump) | |
data_frame.to_excel('Relevant Real Estate Info - GTA Communities.xlsx', index=False) | |
t2 = time() | |
print(t2 - t1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment