Skip to content

Trim leading + in amounts and sanitize Description newlines#192

Merged
jczaja merged 2 commits intomainfrom
sfraczek/fix-parser-26-04-2026
Apr 27, 2026
Merged

Trim leading + in amounts and sanitize Description newlines#192
jczaja merged 2 commits intomainfrom
sfraczek/fix-parser-26-04-2026

Conversation

@sfraczek
Copy link
Copy Markdown
Collaborator

The csv with euro savings has leading + in latest format. Trimmed it to fix parsing error.
New csv format also contains newlines in description column which breaks printing to stdout using Polars. Added sanitize_df which replaces newlines with spaces.

 trim '+' from cashline
 add parsing test for latest Revolut EUR savings transaction
@sfraczek sfraczek requested a review from jczaja April 26, 2026 22:31
@sfraczek sfraczek force-pushed the sfraczek/fix-parser-26-04-2026 branch from 3b47916 to 4e96764 Compare April 26, 2026 22:35
Copy link
Copy Markdown
Collaborator

@jczaja jczaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jczaja jczaja merged commit 28a14e2 into main Apr 27, 2026
8 checks passed
@sfraczek sfraczek deleted the sfraczek/fix-parser-26-04-2026 branch April 27, 2026 18:50
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.

2 participants