feat: Add plain text formatter for Dataset#634
Closed
RamiNoodle733 wants to merge 2 commits intojazzband:masterfrom
Closed
feat: Add plain text formatter for Dataset#634RamiNoodle733 wants to merge 2 commits intojazzband:masterfrom
RamiNoodle733 wants to merge 2 commits intojazzband:masterfrom
Conversation
added 2 commits
February 5, 2026 00:45
- Add detailed parameter descriptions - Add usage example - Document requirement for headers to be set - Document return value and exceptions Fixes #366
Add a new text formatter that exports datasets as space-padded plain text,
suitable for terminal display.
Features:
- Column widths are automatically calculated based on content
- Configurable max_width and padding options
- Headers are displayed with a separator line
- Data is truncated gracefully if it exceeds max_width
Usage:
data.export('text')
data.export('text', max_width=120, padding=2)
Fixes #317
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a plain text formatter for Dataset export as requested in #317.
Features
Fixes #317