Generate plotly DataTable from SQL query
问题 i quite new to dash and python, i am currently trying to have a callback for my datatable which retrieves from the SQL on my computer. However, i am not able to do so. Any idea why? I got this error: columns = [{'num': i, 'id': i} for i in data.columns],data=[] NameError: name 'data' is not defined import pandas as pd import dash import dash_table from dash.dependencies import Output, Input import dash_core_components as dcc import dash_html_components as html from random import random import