-
Notifications
You must be signed in to change notification settings - Fork 182
Description
Describe the bug
Any query that is run, error TypeError: '<' not supported between instances of 'str' and 'int'
To Reproduce
Steps to reproduce the behavior:
- Notebook > run query
%%gremlin g.V().count() - See error
`
TypeError Traceback (most recent call last)
~/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/graph_notebook/magics/graph_magic.py in gremlin(self, line, cell, local_ns)
969 scrollCollapse=gremlin_scrollCollapse,
970 lengthMenu=[final_pagination_options, final_pagination_menu],
--> 971 pageLength=visible_results
972 )
973 else: # Explain/Profile
~/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/itables/javascript.py in show(df, caption, **kwargs)
386 def show(df=None, caption=None, **kwargs):
387 """Show a dataframe"""
--> 388 html = to_html_datatable(df, caption=caption, connected=_CONNECTED, **kwargs)
389 display(HTML(html))
~/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/itables/javascript.py in to_html_datatable(df, caption, tableId, connected, **kwargs)
229 # Only display the table if the rows fit on one 'page'
230 if "dom" not in kwargs and len(df) <= 10: # the default page has 10 rows
--> 231 if "lengthMenu" not in kwargs or len(df) <= min(kwargs["lengthMenu"]):
232 kwargs["dom"] = "t"
233
TypeError: '<' not supported between instances of 'str' and 'int'
`
Expected behavior
Query should return results
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
