Spaces:
Runtime error
Runtime error
File size: 264 Bytes
6bec1f5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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() |