Skip to content

Export result tables to pandas with optional trial metadata - #150

Merged
jc-macdonald merged 3 commits into
mainfrom
feat/85-dataframe-export
Oct 3, 2026
Merged

jc-macdonald merged 3 commits into
mainfrom
feat/85-dataframe-export

Conversation

@jc-macdonald

Copy link
Copy Markdown
Collaborator

Add ResultsTable.to_dataframe() with one row per trial, preserving factors, objective scores, annotations, and optionally flattened metadata under meta.*. Trial counts, raw adaptive means, and standard errors remain available. Reject ambiguous column collisions and mismatched metadata lengths. Pandas is deferred and available through the dataframe extra; CSV export uses the resulting DataFrame.

Closes #85.

Validation: just ci; regressions for categorical/sparse configs, nested statistical metadata, missing values, independent numeric arrays, empty tables, collisions, metadata shape, and missing-pandas installation guidance. Strict docs build validates the export guide.

@jc-macdonald
jc-macdonald merged commit cb3a8aa into main Oct 3, 2026
4 checks passed
@jc-macdonald
jc-macdonald deleted the feat/85-dataframe-export branch October 3, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResultsTable.to_dataframe() export method

1 participant