Skip to content
Snippets Groups Projects
Commit d3ce14c1 authored by Falco Weichselbaum's avatar Falco Weichselbaum
Browse files

removed unnecessary line in remove_nan()

parent 4bc1679f
Branches
Tags
7 merge requests!361name of pdf starts now with feature_importance, there is now also another...,!357update with current devs,!355name of pdf starts now with feature_importance, there is now also another...,!353add developments to release v1.5.0,!352Resolve "release v1.5.0",!350Resolve "upgrade code to TensorFlow V2",!325Resolve "raise ValueError in remove_nan(), if data is NaN only"
Pipeline #76310 passed
...@@ -595,7 +595,6 @@ class DataHandlerSingleStation(AbstractDataHandler): ...@@ -595,7 +595,6 @@ class DataHandlerSingleStation(AbstractDataHandler):
intersect = reduce(np.intersect1d, (non_nan_history.coords[dim].values, non_nan_label.coords[dim].values, intersect = reduce(np.intersect1d, (non_nan_history.coords[dim].values, non_nan_label.coords[dim].values,
non_nan_observation.coords[dim].values)) non_nan_observation.coords[dim].values))
if len(intersect) < max(self.min_length, 1): if len(intersect) < max(self.min_length, 1):
self.history = None self.history = None
self.label = None self.label = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment