This is a simple sample script to demonstrate the use of filter chains in libhxl, for the Humanitarian Exchange Language. The script should work with both Python2 (2.7+) or Python3. Read the comments to see how the code works.
- Get the latest version of libhxl.
- Install the library to pull in dependencies (
python setup.py install
orpython setup.py develop
).
From the command line:
python clean-data.py sample-data.csv
python clean-data.py sample-data.xlsx