Arafath10 commited on
Commit
588728b
1 Parent(s): 1608dda

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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)