/scrumble

Convert text strings into numbers, dates etc. to help when scraping data

Primary LanguagePython

scrumble

When scraping, or otherwise loading and converting data from diverse sources, numbers and dates can be in various formats and need converting to simple numbers.

Some examples:

  • 1,201.22 --> 1201.22
  • £10101.22 --> 10101.22
  • ($5.4) --> -5.4

Scrumble has various functions for processing cases like that.

Testing

Run this command to run the tests.

$ nosetests

Build Status