Unnecessary line (rows with no target value will be removed in cleaning script).

notes
Primoz 2022-09-01 10:06:57 +00:00
parent 86299d346b
commit cb351e0ff6
1 changed files with 0 additions and 1 deletions

View File

@ -6,6 +6,5 @@ cleaned_sensor_features = pd.read_csv(snakemake.input["cleaned_sensor_features"]
target_variable_name = snakemake.params["target_variable"] target_variable_name = snakemake.params["target_variable"]
model_input = retain_target_column(cleaned_sensor_features, target_variable_name) model_input = retain_target_column(cleaned_sensor_features, target_variable_name)
model_input.dropna(axis ="index", how="any", subset=["target"], inplace=True)
model_input.to_csv(snakemake.output[0], index=False) model_input.to_csv(snakemake.output[0], index=False)