diff --git a/experiments/datascope/experiments/bench/base.py b/experiments/datascope/experiments/bench/base.py index 7eb225f..ee64d9f 100644 --- a/experiments/datascope/experiments/bench/base.py +++ b/experiments/datascope/experiments/bench/base.py @@ -891,7 +891,7 @@ def get_instances(cls: Type["Scenario"], **kwargs: Any) -> Iterable["Scenario"]: domain = [domain] domains.append(list(domain)) else: - domains.append(list(attribute_descriptors[name].domain)) + domains.append([None]) for values in product(*domains): attributes = dict((name, value) for (name, value) in zip(names, values) if value is not None) composed_attributes = cls._compose_attributes(attributes) @@ -1010,7 +1010,7 @@ def df(self): df = pd.DataFrame.from_dict({a: [x.get(a, None) for x in data] for a in self._attributes}) if self._key is not None: df.set_index(self._key, inplace=True) - return df + return df.dropna(axis=1, how="all") def __repr__(self) -> str: return self.df.__repr__()