Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
|
8 |
# Load and preprocess the dataset
|
9 |
file_path = "cbinsights_data.csv" # Replace with your file path
|
10 |
-
data = pd.read_csv(file_path)
|
11 |
|
12 |
# Standardize column names: strip whitespace and convert to lowercase
|
13 |
data.columns = data.columns.str.strip().str.lower()
|
|
|
7 |
|
8 |
# Load and preprocess the dataset
|
9 |
file_path = "cbinsights_data.csv" # Replace with your file path
|
10 |
+
data = pd.read_csv(file_path, skiprows=1)
|
11 |
|
12 |
# Standardize column names: strip whitespace and convert to lowercase
|
13 |
data.columns = data.columns.str.strip().str.lower()
|