e.g. using get_string(float_format = '0.2') does not actually format the floats. (Expected behavior: floats are rounded to two decimal places.) This is because the _format_row method does not use the options it is passed:
def _format_row(self, row, options):
return [self._format_value(field, value) for (field, value) in zip(self._field_names, row)]
e.g. using
get_string(float_format = '0.2')
does not actually format the floats. (Expected behavior: floats are rounded to two decimal places.) This is because the_format_row
method does not use the options it is passed: