I’m new to anvil and currently developing an anvil project where given some imput after running the project it displays a DataFrame.
I’ve solved the dataframe display with
return resultf.to_markdown(showindex=False)
The detail is that the output in the dataframe is shown in scientific notation and I don’t want that
I’ve tried adding the following line after the return option
suppress scientific notation by setting float_format
pd.options.display.float_format = ‘{:.0f}’.format
Which is the option that should make the dataframe inputs not to display in scientific notation, but nothing has change when rerunning the project.