Mihkelmj's picture
recreating the feature creation function; need to get data from previous eyars
eeaf86d
raw
history blame
280 Bytes
from data_loading import create_features_and_targets
from data_api_calls import get_data
import pandas as pd
dataset = pd.read_csv("dataset.csv")
X, y = create_features_and_targets(
data=dataset,
target_particle="NO2",
lag_days=7,
sma_days=7,
days_ahead=3,
)