mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-17 12:58:20 +00:00
feat(Data): added csv downloaded from oecd website, prototype preprocessing script
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
|||||||
|
#%%
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
oecd_housing = pd.read_csv('data/oecd_housing_prices.csv')
|
||||||
|
# we're only interested in "real" prices
|
||||||
|
oecd_housing = oecd_housing[oecd_housing['SUBJECT'] == 'REAL']
|
||||||
|
# we're only interested annual data
|
||||||
|
oecd_housing = oecd_housing[oecd_housing['FREQUENCY'] == 'A']
|
||||||
|
oecd_housing
|
||||||
|
# %%
|
||||||
|
countries = oecd_housing['LOCATION'].unique()
|
||||||
|
countries
|
||||||
|
|
||||||
|
# %%
|
||||||
|
oecd_housing[oecd_housing['LOCATION'] == 'HUN'].plot(x = "TIME", y= "Value")
|
||||||
|
# %%
|
||||||
|
|
||||||
|
# %%
|
||||||
Reference in New Issue
Block a user