docs: def _filter_by_pattern(self, pattern):
          """Filter the Filter the Data Collection based on a list of booleans."""
          try:
              _len = len(pattern)
          except TypeError:
              raise TypeError("pattern is not a list of Booleans. Got {}".format(
                  type(pattern)))
          _filt_values = [d for i, d in enumerate(self._values) if pattern[i % _len]]
          _filt_datetimes = [d for i, d in enumerate(self.datetimes) if pattern[i % _len]]
          return _filt_values, _filt_datetimes