I run into issue of having columns but not rows' data displayed... I get json data which I transformed into pandas dataframe.. then I converted it using this method table.to_dict('records') Nevertheless I get data for columns but not rows??? My function script as follows >>> def update_datatable(input_value): temp = [] for x in scraperDb[input_value].find({}): temp.append(x) data = json_util.dumps(temp) table=pd.read_json(data) return table.to_dict('records') How can I display data also for rows???
I run into issue of having columns but not rows' data displayed...
I get json data which I transformed into pandas dataframe.. then I converted it using this method
table.to_dict('records')
Nevertheless I get data for columns but not rows???
My function script as follows >>>
def update_datatable(input_value):
temp = []
How can I display data also for rows???