import gradio as gr import pandas as pd csv_file_path = "formatted_data.csv" def return_df(): # Reading the CSV file df = pd.read_csv(csv_file_path) # all floats to be rounded to 2 decimal places df = df.round(4) return df df = return_df()