arshy's picture
fix submodule
6bec1f5
raw
history blame
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()