faizhalas commited on
Commit
88f4378
·
verified ·
1 Parent(s): f9c1487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -88,7 +88,8 @@ if uploaded_file is not None:
88
  papers.rename(columns={'Publication Year': 'Year', 'Citing Works Count': 'Cited by',
89
  'Publication Type': 'Document Type', 'Source Title': 'Source title'}, inplace=True)
90
 
91
- miss_col = [column for column in columns_to_check if column not in data.columns]
 
92
 
93
  if not missing_columns:
94
  st.write('✅ Vizualisation')
 
88
  papers.rename(columns={'Publication Year': 'Year', 'Citing Works Count': 'Cited by',
89
  'Publication Type': 'Document Type', 'Source Title': 'Source title'}, inplace=True)
90
 
91
+ col2check = ['Document Type','Source title','Cited by','Year']
92
+ miss_col = [column for column in col2check if column not in data.columns]
93
 
94
  if not missing_columns:
95
  st.write('✅ Vizualisation')