Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -136,7 +136,7 @@ async def your_continuous_function(page: str,paginate: str):
|
|
136 |
|
137 |
# Load the dataset
|
138 |
file_path = 'trainer_data.csv' # Update to the correct file path
|
139 |
-
|
140 |
# Analyze class distribution
|
141 |
class_distribution = data['status_name'].value_counts()
|
142 |
print("Class Distribution before balancing:\n", class_distribution)
|
|
|
136 |
|
137 |
# Load the dataset
|
138 |
file_path = 'trainer_data.csv' # Update to the correct file path
|
139 |
+
data = pd.read_csv(file_path)
|
140 |
# Analyze class distribution
|
141 |
class_distribution = data['status_name'].value_counts()
|
142 |
print("Class Distribution before balancing:\n", class_distribution)
|