File size: 309 Bytes
6bec1f5 ac62b55 6bec1f5 ac62b55 6bec1f5 ac62b55 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
import pandas as pd
csv_file_path = "formatted_data.csv"
def return_df():
# Reading the CSV file
print("Reading csv file with results")
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()
|