Bnava13 commited on
Commit
13811b9
·
verified ·
1 Parent(s): eb9e9d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from sklearn.preprocessing import MinMaxScaler
10
  # Load dataset with proper error handling
11
  def load_data(file_path='games_march2025_cleaned.csv', max_rows=88899):
12
  try:
13
- data = pd.read_csv(file_path, quotechar='"', on_bad_lines='skip', nrows=max_rows)
14
  print(f"Successfully loaded {len(data)} games from {file_path}")
15
  return data
16
  except Exception as e:
 
10
  # Load dataset with proper error handling
11
  def load_data(file_path='games_march2025_cleaned.csv', max_rows=88899):
12
  try:
13
+ data = pd.read_csv(file_path, quotechar='"', on_bad_lines='skip', nrows=max_rows, engine='python')
14
  print(f"Successfully loaded {len(data)} games from {file_path}")
15
  return data
16
  except Exception as e: