File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33import threading
44import pandas as pd
55
6- from IPython .display import display as ipython_display , HTML
6+ try :
7+ from IPython .display import display as ipython_display , HTML
8+ except ImportError :
9+ ipython_display = print
10+ HTML = lambda x : x
711from concurrent .futures import ThreadPoolExecutor , as_completed
812
913from dsp .utils import EM
@@ -206,4 +210,4 @@ def configure_dataframe_display(df, metric_name):
206210 })
207211
208212# FIXME: TODO: The merge_dicts stuff above is way too quick and dirty.
209- # TODO: the display_table can't handle False but can handle 0! Not sure how it works with True exactly, probably fails too.
213+ # TODO: the display_table can't handle False but can handle 0! Not sure how it works with True exactly, probably fails too.
You can’t perform that action at this time.
0 commit comments