Skip to content

feat(collect): Collection.save() supports xlsx and json (#789) - #793

Merged
jepegit merged 4 commits into
masterfrom
789-collection-save-formats
Jul 29, 2026
Merged

feat(collect): Collection.save() supports xlsx and json (#789)#793
jepegit merged 4 commits into
masterfrom
789-collection-save-formats

Conversation

@jepegit

@jepegit jepegit commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Adds json and xlsx to Collection.save formats (was parquet/csv only). xlsx uses polars write_excel with a pandas to_excel fallback and a clear error when no Excel writer is installed; unknown formats now name the supported set.

Tests: json round-trip, xlsx write (skips if no engine), unknown-format error.

Closes #789

🤖 Generated with Claude Code

Adds "json" (polars write_json) and "xlsx" to Collection.save formats
(previously only parquet/csv, raising on anything else). xlsx uses polars
write_excel with a graceful fallback to pandas to_excel, and a clear error
if no Excel writer (xlsxwriter/openpyxl) is installed. Unknown formats now
name the supported set.

Closes #789

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jepegit
jepegit enabled auto-merge (squash) July 29, 2026 11:25
@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit 0141b87 into master Jul 29, 2026
5 checks passed
@jepegit
jepegit deleted the 789-collection-save-formats branch July 29, 2026 12:45
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.

Collection.save(): support xlsx and json formats

1 participant