Skip to content

Commit 2a86684

Browse files
committed
[syft/dataset] remove unncessary check
1 parent 4cf3978 commit 2a86684

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/syft/src/syft/service/dataset/dataset.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ def _repr_html_(self) -> Any:
150150
mock_table_line = itable_template_from_df(df=df.head(5))
151151
elif isinstance(self.mock, pd.DataFrame):
152152
mock_table_line = itable_template_from_df(df=self.mock.head(5))
153-
elif isinstance(self.mock, list | dict | set | str):
154-
mock_table_line = repr_truncation(self.mock)
155153
else:
156154
try:
157155
mock_table_line = repr_truncation(self.mock)

0 commit comments

Comments
 (0)