s-leroux / fin

Set of tools for personal investment
MIT License
1 stars 0 forks source link

Consider typing columns #28

Closed s-leroux closed 7 months ago

s-leroux commented 7 months ago

Since the addition of formatters, columns are implicitly typed. However, this may lead to implementation problems like those in series_from_csv, where the formatter-related code looks like a hack.

Consider explicitly typing the columns instead. The exact formatter, if not provided, would then be inferred from the type and possibly the data (i.e., to auto-detect the precision for floating-point numbers)