bcgov / cthub

Apache License 2.0
2 stars 5 forks source link

CTHUB - GER Coerce strings to numeric in numeric columns #320

Closed katerinkus closed 4 months ago

katerinkus commented 5 months ago

Describe the task Coerce strings in numeric columns ('Max Incentive Amount Requested', 'Incentive Paid', 'Total Purchase Price (pre-tax)') to numbers by removing white spaces and commas. If the value in the cell is still not numeric after that, user should get an error telling them the row and the column name to fix it.

This method should be generalized to other datasets to convert strings to numeric.

Purpose To fix common issues in numeric columns that prevent pandas from seeing values as numbers.

Acceptance Criteria

Additional context

ArawuSamuel1 commented 5 months ago

Hey team! Please add your planning poker estimate with Zenhub @emi-hi @JulianForeman @tim738745

shayjeff commented 4 months ago

Tested