umang018 commited on
Commit
034b7a6
·
verified ·
1 Parent(s): f9b03dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import pandas as pd
4
  # Load the CSV data
5
  @st.cache_data
6
  def load_data(file_path):
7
- df = pd.read_csv(file_path, delimiter=',', quotechar='"', error_bad_lines=False)
8
  return df
9
 
10
  # Paginate function
 
4
  # Load the CSV data
5
  @st.cache_data
6
  def load_data(file_path):
7
+ df = pd.read_csv(file_path, delimiter=',', quotechar='"', on_bad_lines='skip')
8
  return df
9
 
10
  # Paginate function