#!/usr/bin/env python # coding: utf-8 # This is a notebook that you can use to test `itables` # in Jupyter Lab, VS Code or PyCharm. # In[1]: from itables import init_notebook_mode from itables.sample_dfs import get_countries # Make sure you try both `connected=False` (offline mode, the default, except on Google Colab) # and `connected=True` in the below. # # Also, you should make sure that when the notebook is saved an reloaded (or exported to HTML) # then the table continues to work. # # NB: In PyCharm, both the offline and connected mode work, however in the offline mode, the # tables are not displayed when the notebook is reloaded. # # In[2]: init_notebook_mode(all_interactive=True, connected=False) # In[3]: get_countries() # In[3]: