JackieTien97 commented on code in PR #816:
URL: https://github.com/apache/tsfile/pull/816#discussion_r3251952462


##########
python/tsfile/dataset/dataframe.py:
##########
@@ -958,14 +1049,21 @@ def _format_table(self, indices=None, max_rows: int = 
20) -> str:
             total_count=len(indices),
             truncated=truncated,
             split_index=split_index,
+            is_table_model=not is_tree,
         )
 
     def _repr_header(self) -> str:
-        total = len(self._index.series_refs_ordered)
+        total = len(self._index.series)
+        model_marker = self._index.model
         if self._is_view:
-            return f"TsFileDataFrame({total} time series, subset of 
{len(self._root._index.series_refs_ordered)})\n"
-        return f"TsFileDataFrame({total} time series, {len(self._paths)} 
files)\n"
-
+            return (
+                f"TsFileDataFrame({model_marker} model, {total} time series, "

Review Comment:
   Nit: PEP 8 expects two blank lines between top-level methods in a class. 
`_repr_header` ends at line 1059 and `__repr__` starts at line 1060 — missing a 
blank line separator.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to