I had a column in a pandas table that I set astype(float32) and then set the precision using
options = config.load_options()
options = {'floatprecision': 2}
config.apply_options(options, self.table)
before displaying. But when it displayed, it showed more than 2 decimal places
When I changed the column type to simply astype(float) then it worked as expected.
It seems to me that both types should be recognized and formatted properly
I had a column in a pandas table that I set astype(float32) and then set the precision using options = config.load_options() options = {'floatprecision': 2} config.apply_options(options, self.table)
before displaying. But when it displayed, it showed more than 2 decimal places When I changed the column type to simply astype(float) then it worked as expected.
It seems to me that both types should be recognized and formatted properly