Period.to_float()
Returns a numerical representation of the period.
Examples
>>> from iode import Period >>> period = Period(2000, 'Q', 1) >>> period.to_float() 2000.0 >>> period = Period(2000, 'Q', 3) >>> period.to_float() 2000.5