Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thousands #51

Merged
merged 5 commits into from
Jul 31, 2023
Merged

Thousands #51

merged 5 commits into from
Jul 31, 2023

Conversation

jacobdadams
Copy link
Member

Better handling string values in the to_nullable_int and to_float transform methods.

Uses locale, but relies on client to set localization per docs. However, most people probably don't think about this, so if locale.LC_NUMERIC isn't set, it sets it to the system default.

Closes #50

@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Patch coverage: 94.44% and project coverage change: +0.21 🎉

Comparison is base (e815d4b) 90.51% compared to head (b0477ee) 90.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
+ Coverage   90.51%   90.73%   +0.21%     
==========================================
  Files           7        7              
  Lines         886      896      +10     
  Branches      126      127       +1     
==========================================
+ Hits          802      813      +11     
+ Misses         76       74       -2     
- Partials        8        9       +1     
Impacted Files Coverage Δ
src/palletjack/__init__.py 80.00% <66.66%> (-20.00%) ⬇️
src/palletjack/transform.py 97.95% <100.00%> (+2.35%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@stdavis stdavis left a comment

Choose a reason for hiding this comment

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

Cool!

@jacobdadams jacobdadams merged commit 83022af into main Jul 31, 2023
@jacobdadams jacobdadams deleted the thousands branch July 31, 2023 23:10
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.

DataCleaning.switch_to_float() can't handle commas in numbers
3 participants