diff --git a/src/pyaro/timeseries/Data.py b/src/pyaro/timeseries/Data.py index 68e5ea9..cfe28cb 100644 --- a/src/pyaro/timeseries/Data.py +++ b/src/pyaro/timeseries/Data.py @@ -75,6 +75,10 @@ def slice(self, index): # -> Self: for 3.11 def __getitem__(self, key): return self.slice(key) + @abc.abstractmethod + def __len__(self) -> int: + pass + @property def variable(self) -> str: """Variable name for all the data