@VenkataSatish wrote:
Hi i want to use a dashtable inside a jupyter notebook. While running the app i am getting the output as "Loading… ". Nothing else.
Below is the piece of code i have written as part of the cells in the jupyter notebook. All cells have been run.
import dash
import pandas as pd
import dash_table as dt
from jupyter_plotly_dash import JupyterDash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
import osos.chdir(“C:/GreatLEarning/Anaconda/wd/macd/”)
mcd = pd.read_csv(“Mcdonald.csv”)
app=JupyterDash(“MacMenuAnalysis”)
app.layout= dt.DataTable(id=‘table’, columns=[{“name”:id, “id”:id} for i in mcd.columns],data=mcd.to_dict(“rows”),page_size=10)
appThe out put i get as of the last cell is
Loading…Nothing else is there in the output.
I checked if Dash Basic HTML works here it does work. I check with creating a set of radio buttons and doing some dynamic output based on that and that works.
But its when i do the DataTable it does not work.Please note: i am relatively new to Python and Jupyter. I am very new to Dash. In fact this is my first attempt at DashTable.
Posts: 1
Participants: 1