okfn / messytables

Tools for parsing messy tabular data. This is now superseded by https://github.com/frictionlessdata/tabulator-py
http://messytables.readthedocs.io/
387 stars 110 forks source link

DecimalType vs FloatType #51

Closed rufuspollock closed 11 years ago

rufuspollock commented 11 years ago

Is the FloatType ever used versus the DecimalType and if so when?

domoritz commented 11 years ago

The float type supports localization. But you are right. Maybe we should merge them and use something like decimal.Decimal(locale.atof(value)) and remove the FloatType.

domoritz commented 11 years ago

It may be worth discussing this but I think it's a good thing thing and makes messytables cleaner/smaller/faster/easier to understand. @frabcus @scraperdragon @rossjones opinions? Would someone like to review and merge this?