Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -270,10 +270,7 @@ if uploaded_files:
|
|
270 |
'Title' : concat['title'][0],
|
271 |
'Authors' : concat['authors'][0],
|
272 |
'Publication Year' : get_valid_year(' '.join(concat['year_of_publication'].values.tolist())) if 'year_of_publication' in concat.columns else concat.assign(year_of_publication='')['year_of_publication'],
|
273 |
-
|
274 |
-
"Publisher Name" : concat['publisher_name'][0]
|
275 |
-
except:
|
276 |
-
"Publisher Name" : ""
|
277 |
# 'Population' : concat['population_race'][0],
|
278 |
'Population' : upper_abbreviation(' '.join(concat['population_race'].values.tolist()).replace('Unknown', '').title()) if 'population_race' in concat.columns else concat.assign(population_race='')['population_race'],
|
279 |
'Sample Size' : sample_size_postproc(' '.join(concat['sample_size'].values.tolist()).replace('Unknown', '').title()) if 'sample_size' in concat.columns else concat.assign(sample_size='')['sample_size'],
|
|
|
270 |
'Title' : concat['title'][0],
|
271 |
'Authors' : concat['authors'][0],
|
272 |
'Publication Year' : get_valid_year(' '.join(concat['year_of_publication'].values.tolist())) if 'year_of_publication' in concat.columns else concat.assign(year_of_publication='')['year_of_publication'],
|
273 |
+
"Publisher Name" : ""
|
|
|
|
|
|
|
274 |
# 'Population' : concat['population_race'][0],
|
275 |
'Population' : upper_abbreviation(' '.join(concat['population_race'].values.tolist()).replace('Unknown', '').title()) if 'population_race' in concat.columns else concat.assign(population_race='')['population_race'],
|
276 |
'Sample Size' : sample_size_postproc(' '.join(concat['sample_size'].values.tolist()).replace('Unknown', '').title()) if 'sample_size' in concat.columns else concat.assign(sample_size='')['sample_size'],
|