Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

US duty rates are not numbers: parsing 747 rate formats from the tariff schedule in Python

The duty rate column of the US tariff schedule looks like the easy part. It reads like a percentage: 6.5%, 3.7%, Free. Try float(rate.rstrip("%")) on it, though, and it fails on the very first declara...

Read the full report at Dev.to ↗