marcelhuber commited on
Commit
f0e873d
1 Parent(s): b221041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def pdf_processing(pdf_file):
119
  final_df['ECTS'] = final_df['ECTS'].astype(float)
120
 
121
  # Drop duplicates
122
- final_df = final_df.drop_duplicates(subset='LVA-Nr.', keep='first')
123
 
124
  # Sum the values in 'ECTS' column
125
  column_sum = final_df['ECTS'].sum()
 
119
  final_df['ECTS'] = final_df['ECTS'].astype(float)
120
 
121
  # Drop duplicates
122
+ final_df = final_df.drop_duplicates()
123
 
124
  # Sum the values in 'ECTS' column
125
  column_sum = final_df['ECTS'].sum()