Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create BeakerX TableDisplay in Python Jupyter Notebook?

I'm having troubles getting started with BeakerX. I just want to display a table in a Python Jupyter notebook like how they show in their Python API for Table Display Jupyter Notebook:

import pandas as pd
from beakerx import *
from beakerx.object import beakerx
beakerx_table = TableDisplay(pd.read_csv('./dspace_BMTs.csv.bz2'))
beakerx_table

There are no errors, but there is also no apparent output. Unfortunately a side-effect is that normal Jupyter Notebook output is also suppressed. I.e., later in the notebook, df.head() shows nothing. Without BeakerX, Jupyter/Pandas behaves normally.

What is the correct way to do this?

like image 550
rickhg12hs Avatar asked Nov 07 '22 00:11

rickhg12hs


1 Answers

I don't know why, but uninstalling and reinstalling the beakerx components fixed this issue.

$ beakerx uninstall
$ beakerx install
like image 127
rickhg12hs Avatar answered Nov 15 '22 10:11

rickhg12hs