Dash wrapper for Datatables.net
Project description
dash-datatables
Dash wrapper for the wonderful DataTables.net
Code Snippet
from dash import html
import dash_datatables as ddt
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
column_defs = [{"title": i, "data": i} for i in df.columns]
layout = html.Div([
html.H2('US Solar Capacity'),
html.Br(),
ddt.DashDatatables(
columns=column_defs,
data=df.to_dict('records'),
width="100%",
order=[2, 'asc'],
)
])
Installation
You can install dash-datatables with pip
:
pip install dash-datatables
Documentation
Head over to the README for more details.
Contributing
The source code for dash-datatables is available on GitHub. If you find a bug or something is unclear, we encourage you to raise an issue. We also welcome contributions, to contribute, fork the repository and open a pull request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dash_datatables-0.0.5.tar.gz
(112.2 kB
view hashes)
Built Distribution
Close
Hashes for dash_datatables-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a558d1e232be28a8f45182097c74f1728c01e8df809ed7eca8c9a9e1d1f7c00a |
|
MD5 | 5490f0e5b3406e2cc47f705c6a5f01cb |
|
BLAKE2b-256 | 720142d13b7b002b9d3d092e142c98aa21b231b8987930e59dc60d03c5683210 |