René's URL Explorer Experiment


Title: Create more table in one page · Issue #95 · plotly/dash-table-experiments · GitHub

Open Graph Title: Create more table in one page · Issue #95 · plotly/dash-table-experiments

X Title: Create more table in one page · Issue #95 · plotly/dash-table-experiments

Description: Hey guys, i would like to show 2 dataframe table, one is the dataset and the other one is statistical calculation of the dataframe (pandas describe()) of the dataframe. but I couldn't manage to show it. here is my code: # Define App Layo...

Open Graph Description: Hey guys, i would like to show 2 dataframe table, one is the dataset and the other one is statistical calculation of the dataframe (pandas describe()) of the dataframe. but I couldn't manage to sho...

X Description: Hey guys, i would like to show 2 dataframe table, one is the dataset and the other one is statistical calculation of the dataframe (pandas describe()) of the dataframe. but I couldn't manage to...

Opengraph URL: https://github.com/plotly/dash-table-experiments/issues/95

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create more table in one page","articleBody":"Hey guys, i would like to show 2 dataframe table, one is the dataset and the other one is statistical calculation of the dataframe (pandas describe()) of the dataframe. but I couldn't manage to show it. here is my code: \r\n\r\n```\r\n# Define App Layout\r\napp.layout = html.Div([\r\n    # Title\r\n    html.H2('Analytics Dashboard'),\r\n    \r\n    # Dropdown to choose the dataset\r\n    html.Div([\r\n        html.Label('Choose Your Data'),\r\n        dcc.Dropdown(\r\n            options = [{'label':i, 'value':i} for i in onlyfiles], \r\n            value = \" \",\r\n            id=\"field-dropdown\"\r\n            ), \r\n        ], \r\n        style = {'width':'25%', 'display':'inline-block'}\r\n    ),\r\n\r\n    # Visualize Dataframe using Dash's Data Table Experiments\r\n    dt.DataTable(\r\n        # initialize rows\r\n        rows = [{}],\r\n        # selection feature in dash table\r\n        row_selectable = True,\r\n        # filter feature in dash table\r\n        filterable = True,\r\n        # sort feature in dash table\r\n        sortable = True,\r\n        # initialize row selection array\r\n        selected_row_indices = [],\r\n        # data table id (for referencing)\r\n        id = 'datatable'\r\n    ), \r\n\r\n    dt.DataTable(\r\n        rows = [{}],\r\n        row_selectable = False,\r\n        filterable = False,\r\n        sortable = False,\r\n        id = 'statisticalTable'\r\n    ), \r\n\r\n    # Hidden div inside the app that stores the intermediate value\r\n    # Use for sharing data between callback\r\n    html.Div(id='intermediate-value', style={'display':'none'})\r\n])\r\n\r\n# Callback to read state change in dropdown\r\n@app.callback(Output('intermediate-value','children'),[Input('field-dropdown', 'value')])\r\ndef updateTable(field_dropdown): # update function in dropdown change\r\n    # pandas dataframe construct\r\n    df = pd.read_csv(datapath+field_dropdown)\r\n    return df.to_json(date_format='iso', orient='split')\r\n\r\n@app.callback(Output('datatable','rows'),[Input('intermediate-value', 'children')])\r\ndef updateTable(jsonified_clean_data):\r\n    print('update 1st table')\r\n    dff = pd.read_json(jsonified_clean_data, orient='split')\r\n    return dff.to_dict('record')\r\n\r\n@app.callback(Output('statisticalTable','rows'),[Input('intermediate-value', 'children')])\r\ndef updateStatTable(jsonified_clean_data):\r\n    print('update 2nd table')\r\n    dff = pd.read_json(jsonified_clean_data, orient='split')\r\n    stat = dff.describe()\r\n    print(stat)\r\n    return stat.to_dict('record')\r\n\r\n\r\n# server main \r\nif __name__ == '__main__':\r\n    app.run_server(debug=True)\r\n```","author":{"url":"https://github.com/elianalien","@type":"Person","name":"elianalien"},"datePublished":"2018-10-22T11:00:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/95/dash-table-experiments/issues/95"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:09d1cf50-b7aa-5243-96ef-334cc610e9a2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F9E:2F3AB6:2D026D6:3AE1C9B:6A5CD278
html-safe-noncea0c13b90eb68e5566bbbf76cd7911306c4979a582eae906785e991cc042daeaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjlFOjJGM0FCNjoyRDAyNkQ2OjNBRTFDOUI6NkE1Q0QyNzgiLCJ2aXNpdG9yX2lkIjoiMTUwMjgzNDM5MDM3MTk3OTg5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7341e2440270c8d75981827985805a990f302a8234a0b98d6360ffebca369800
hovercard-subject-tagissue:372475922
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/dash-table-experiments/95/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4156308350c82b83e2b17cb2ccde55450b6bd6b08e26b636c9333bffa4856855/plotly/dash-table-experiments/issues/95
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4156308350c82b83e2b17cb2ccde55450b6bd6b08e26b636c9333bffa4856855/plotly/dash-table-experiments/issues/95
og:image:altHey guys, i would like to show 2 dataframe table, one is the dataset and the other one is statistical calculation of the dataframe (pandas describe()) of the dataframe. but I couldn't manage to sho...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameelianalien
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/plotly/dash-table-experiments git https://github.com/plotly/dash-table-experiments.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id99643060
octolytics-dimension-repository_nwoplotly/dash-table-experiments
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id99643060
octolytics-dimension-repository_network_root_nwoplotly/dash-table-experiments
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/dash-table-experiments/issues/95#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash-table-experiments%2Fissues%2F95
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash-table-experiments%2Fissues%2F95
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fdash-table-experiments
Reloadhttps://github.com/plotly/dash-table-experiments/issues/95
Reloadhttps://github.com/plotly/dash-table-experiments/issues/95
Reloadhttps://github.com/plotly/dash-table-experiments/issues/95
Please reload this pagehttps://github.com/plotly/dash-table-experiments/issues/95
plotly https://github.com/plotly
dash-table-experimentshttps://github.com/plotly/dash-table-experiments
Notifications https://github.com/login?return_to=%2Fplotly%2Fdash-table-experiments
Fork 56 https://github.com/login?return_to=%2Fplotly%2Fdash-table-experiments
Star 174 https://github.com/login?return_to=%2Fplotly%2Fdash-table-experiments
Code https://github.com/plotly/dash-table-experiments
Issues 51 https://github.com/plotly/dash-table-experiments/issues
Pull requests 6 https://github.com/plotly/dash-table-experiments/pulls
Actions https://github.com/plotly/dash-table-experiments/actions
Projects https://github.com/plotly/dash-table-experiments/projects
Security and quality 0 https://github.com/plotly/dash-table-experiments/security
Insights https://github.com/plotly/dash-table-experiments/pulse
Code https://github.com/plotly/dash-table-experiments
Issues https://github.com/plotly/dash-table-experiments/issues
Pull requests https://github.com/plotly/dash-table-experiments/pulls
Actions https://github.com/plotly/dash-table-experiments/actions
Projects https://github.com/plotly/dash-table-experiments/projects
Security and quality https://github.com/plotly/dash-table-experiments/security
Insights https://github.com/plotly/dash-table-experiments/pulse
Create more table in one pagehttps://github.com/plotly/dash-table-experiments/issues/95#top
https://github.com/elianalien
elianalienhttps://github.com/elianalien
on Oct 22, 2018https://github.com/plotly/dash-table-experiments/issues/95#issue-372475922
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.