Skip to content

Conversation

@GreenShadowMaker
Copy link

One of my banks CSV using credit and debit columns had a 0 in the alternate column instead of the required blank

moving the 'subs' to be happen before being checked for empty field, appeared to be the easiest and most flexible

sub used in combination with this:
subs = {
"^0$": "", # remove 0 value if only character
}

I imagine there is a way to do both credit/debit sub without the nearly duplicate lines, but I'm not aware.

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.

1 participant