Skip to content

v0.4.18 — two-file (data + dictionary) app workflow, all datasets, Colab export

Choose a tag to compare

@cmg777 cmg777 released this 26 Jun 02:42
· 1 commit to main since this release
3c7fb94

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/time rows 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 Productivity and Bolivia (provinces).
  • Export ships the dictionary, and the notebook is Colab-ready — "Export notebook + data" writes expdpy_data_def.csv alongside the sample, and the generated .ipynb is a Google Colab notebook (pinned expdpy==0.4.18 install + one-time runtime restart + Plotly colab renderer) whose load cell calls set_labels(..., set_panel=True). The .py script stays a plain local-run script.

Full changelog: https://cmg777.github.io/expdpy/changelog.html