From 1797b4720169652f4330fb68ec89e4413ab015fa Mon Sep 17 00:00:00 2001 From: y-p Date: Wed, 15 Jan 2014 21:01:23 +0200 Subject: [PATCH] CLN: repr_html raises NotImplementedError rather then ValueError in qtconsole GH5922 --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8f1916141b572..61d59e8f93c83 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -474,7 +474,7 @@ def _repr_html_(self): # behaves badly when outputting an HTML table # that doesn't fit the window, so disable it. if com.in_qtconsole(): - raise ValueError('Disable HTML output in QtConsole') + raise NotImplementedError('HTML output is disabled in QtConsole') if self._info_repr(): buf = StringIO(u(""))