We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bc9ad commit 76fcdb7Copy full SHA for 76fcdb7
python/datafusion/dataframe.py
@@ -149,17 +149,6 @@ def __repr__(self) -> str:
149
Returns:
150
String representation of the DataFrame.
151
"""
152
- # Check if we're in a Jupyter notebook. If so, we will only use
153
- # the _repr_html_ output to avoid calling collect() twice.
154
- try:
155
- from IPython import get_ipython
156
-
157
- shell = get_ipython().__class__.__name__
158
- if shell == "ZMQInteractiveShell":
159
- return "" # Return empty string to effectively disable
160
- except (ImportError, NameError):
161
- pass
162
163
return self.df.__repr__()
164
165
def _repr_html_(self) -> str:
0 commit comments