v0.4.18 — two-file (data + dictionary) app workflow, all datasets, Colab export
Apps — the two-file (data + dictionary) workflow
The three ExPdPy apps now revolve around two files: a data file and a data dictionary (df_def) — for both input and output.
- Upload your data and (optionally) its dictionary and every figure/table updates with the right labels and panel structure. Upload data only and the app auto-builds an editable dictionary in the sidebar — set the
entity/timerows to unlock the panel views, then Apply (and Download .csv). - New public helper
build_data_def(df)infers that dictionary (types + entity/time) from any frame, so the same workflow runs in notebooks:ex.set_labels(df, ex.build_data_def(df), set_panel=True). - The dictionary is applied throughout — labelled axes/legends/headers now render for the bundled datasets too, switching datasets resets stale selections, and views no longer silently disappear on upload (e.g. the missing-values map) because the panel is now declared.
- The dataset picker offers every bundled dataset — adds
ProductivityandBolivia (provinces). - Export ships the dictionary, and the notebook is Colab-ready — "Export notebook + data" writes
expdpy_data_def.csvalongside the sample, and the generated.ipynbis a Google Colab notebook (pinnedexpdpy==0.4.18install + one-time runtime restart + Plotly colab renderer) whose load cell callsset_labels(..., set_panel=True). The.pyscript stays a plain local-run script.
Full changelog: https://cmg777.github.io/expdpy/changelog.html