Spaces:
Runtime error
Runtime error
AnonymousAuthors
commited on
Commit
•
2a34161
1
Parent(s):
bf204d1
Update secretlanguage.py
Browse files- secretlanguage.py +2 -2
secretlanguage.py
CHANGED
@@ -75,8 +75,8 @@ class ReactiveTables(param.Parameterized):
|
|
75 |
def table_ours(self):
|
76 |
data, _, flag = self.data()
|
77 |
if flag:
|
78 |
-
return pn.pane.HTML(data[max(0, self.record_start_index-1):
|
79 |
-
min(min(self.record_stop_index
|
80 |
classes=['example', 'panel-df']) + script,
|
81 |
sizing_mode='stretch_width')
|
82 |
else:
|
|
|
75 |
def table_ours(self):
|
76 |
data, _, flag = self.data()
|
77 |
if flag:
|
78 |
+
return pn.pane.HTML(data[max(0, self.record_start_index - 1):
|
79 |
+
min(min(self.record_stop_index, self.record_start_index + 2001), len(data) + 1)].to_html(
|
80 |
classes=['example', 'panel-df']) + script,
|
81 |
sizing_mode='stretch_width')
|
82 |
else:
|