Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

dash-table-experiments outputs columns of dataframe but not rows #100

Description

@DavitGadyan

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???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions