We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db14c0 commit 312fd4aCopy full SHA for 312fd4a
1 file changed
python/datafusion/dataframe.py
@@ -152,19 +152,7 @@ def __repr__(self) -> str:
152
return self.df.__repr__()
153
154
def _repr_html_(self) -> str:
155
- """Return HTML representation for Jupyter notebooks."""
156
- # Import here to avoid circular imports
157
- from datafusion.html_formatter import get_formatter
158
-
159
- # Always get the latest formatter instance
160
- formatter = get_formatter()
161
162
- # Get data and schema
163
- batches = self.collect()
164
- schema = self.schema()
165
166
- # Format the data using our formatter
167
- return formatter.format_html(batches, schema)
+ return self.df._repr_html_()
168
169
def describe(self) -> DataFrame:
170
"""Return the statistics for this DataFrame.
0 commit comments