{"id":22632174,"url":"https://github.com/alleninstitute/dashdataframe","last_synced_at":"2025-10-08T09:21:11.537Z","repository":{"id":62566457,"uuid":"197809250","full_name":"AllenInstitute/DashDataFrame","owner":"AllenInstitute","description":"An simplified interface for making dash apps to explore multi-dimensional dataframes with custom link integration and filtering. ","archived":false,"fork":false,"pushed_at":"2022-11-01T20:08:37.000Z","size":48,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T03:07:03.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AllenInstitute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-19T16:34:14.000Z","updated_at":"2023-10-05T19:34:01.000Z","dependencies_parsed_at":"2022-11-03T17:47:48.810Z","dependency_job_id":null,"html_url":"https://github.com/AllenInstitute/DashDataFrame","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllenInstitute%2FDashDataFrame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllenInstitute%2FDashDataFrame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllenInstitute%2FDashDataFrame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllenInstitute%2FDashDataFrame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AllenInstitute","download_url":"https://codeload.github.com/AllenInstitute/DashDataFrame/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473127,"owners_count":21109628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T02:16:42.882Z","updated_at":"2025-10-08T09:21:11.443Z","avatar_url":"https://github.com/AllenInstitute.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DashDataFrame\nAn simplified interface for making dash apps to explore multi-dimensional dataframes with custom link integration and filtering. \n\n# Introduction\n[Dash](https://plot.ly/dash/) is a powerful python framework for making interactive visualizations.  Pandas is an powerful and popular package for storing tabular data in python. DashDataFrame makes it easy to create a interactive 2d scatter plot with colored dots, that allows users to dynamically select columns to plot as x,y or colorize the points from.  Users can select data in one plot perspective, and then change the axis and points remain selected.  Users can also sub-select points using the 'digital sort' button to filter the rows of the dataframe to the points that are relevant.  Finally, by passing in a python function which creates an html link, users can integrate dash with other external viewers or files to create a custom link based upon the set of IDs the user has selected. \n\n# Installation\nClone this repository and install it with `python setup.py install` or `pip install dashdataframe`\n\n# Getting Started\nAll you need is to get a dataframe and  dash app, and then use dashdataframe.configure_app to setup the dash app and then launch your dash app. A simpliest example..\n\n```Python\n    # make a fake dataframe using sklearn\n    from sklearn.datasets import make_blobs\n    data, clusters = make_blobs(n_samples=200, n_features=6,\n                                centers=4, cluster_std=1.6,\n                                random_state=50)\n    df = pd.DataFrame(data)\n    df['cluster']=clusters\n\n    import dash\n    from dashdataframe import configure_app\n    # initialize a dash app\n    app = dash.Dash()\n    \n    # configure the app\n    configure_app(app, df)\n    \n    # run the dash server\n    app.run_server(port=8880)\n```\n\nCheck out the example in (examples/test_dash.py).  You will need to pip install neuroglancer, but it will demonstrate how to create a visualization of a dataframe that summarizes basic statistics of fly brain regions, and allows you to select regions and create a custom link to visualize the selected regions in neuroglancer.   You supply configure_app with a function that takes a dataframe and a set of selected indices in your dataframe and returns a url. \n\n# Level of Support\nWe are planning on occasional updating this tool with no fixed schedule. Community involvement is encouraged through both issues and pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleninstitute%2Fdashdataframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falleninstitute%2Fdashdataframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleninstitute%2Fdashdataframe/lists"}