techmatters / soil-id-algorithm

GNU Affero General Public License v3.0
1 stars 0 forks source link

fix: string formatting issues causing bugs 120 and 128 #136

Closed jjmaynard closed 1 month ago

jjmaynard commented 2 months ago

Description

PR fixes bug #120 and #128 https://github.com/techmatters/soil-id-algorithm/issues/120 - error with string manipulation in pandas. Added 'regex=True' to .str.replace() function. https://github.com/techmatters/soil-id-algorithm/issues/128 - fixed capitalization inconsistency due SSURGO data formatting. Used str.title() function to only capitalize first letter of each word.