DTale

DTale template

import os; from urllib.parse import urlparse
nj_service_url = urlparse(os.environ.get('NEXTJOURNAL_RUNTIME_SERVICE_URL'))
nj_service_url.path
0.1s
Test (Python)
DTale
'/runner/NHfeVnP6fa9FB7Fq7ZMfu/runtime/f6e27160-110b-4143-9a57-d228d78fe1fa'
import pandas as pd
import dtale
import plotly.express as px
df = px.data.iris()
# Assigning a reference to a running D-Tale process
d = dtale.show(df, port=9998, app_root=nj_service_url.path)
2.3s
Test (Python)
DTale
from IPython.display import IFrame
IFrame(nj_service_url.path + '/dtale/iframe/' + d._data_id, '100%', 600)
0.1s
Test (Python)
DTale

Env

pip install dtale
DTale (Bash)
Runtimes (2)