Data
Affichage de données : bpm.dataframe, bpm.table, bpm.json.
Référence API
| Fonction | BPM |
|---|---|
| dataframe() | bpm.dataframe() |
| table() | bpm.table() |
| json() | bpm.json() |
bpm.dataframe
Signature : bpm.dataframe(data, use_container_width=True, ...)
import bpm
import pandas as pd
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
bpm.dataframe(df)
bpm.table
Signature : bpm.table(data) — tableau statique (HTML).
bpm.table(df)
bpm.json
Signature : bpm.json(obj) — affichage JSON repliable.
bpm.json({"clé": "valeur", "nested": {"a": 1}})
Catalogue des composants — Table, TreeView, Timeline.
Variables CSS : --bpm-table-border, --bpm-table-stripe.