leaderboard-docker / tabs /dashboard.py
arshy's picture
initial commit
52938ea
raw
history blame
No virus
264 Bytes
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()