datetime parsing

This commit is contained in:
Andrea Mannocci 2021-04-15 15:01:34 +02:00
parent 35c2ec418f
commit 34a37942c5
1 changed files with 4 additions and 4 deletions

View File

@ -60,14 +60,14 @@ def main(input_filepath, output_filepath):
'family_name': 'string', 'family_name': 'string',
'biography': 'string', 'biography': 'string',
'primary_email': 'string', 'primary_email': 'string',
'activation_date': 'string', # 'activation_date': 'string',
'last_update_date': 'string', # 'last_update_date': 'string',
'n_works': pd.Int16Dtype(), 'n_works': pd.Int16Dtype(),
'n_doi': pd.Int16Dtype(), 'n_doi': pd.Int16Dtype(),
'n_arxiv': pd.Int16Dtype(), 'n_arxiv': pd.Int16Dtype(),
'n_pmc': pd.Int16Dtype(), 'n_pmc': pd.Int16Dtype(),
'n_other_pids': pd.Int16Dtype()}) 'n_other_pids': pd.Int16Dtype()},
# parse_dates=['activation_date', 'last_update_date']) parse_dates=['activation_date', 'last_update_date'])
logger.info('Loading list columns') logger.info('Loading list columns')
logger.info('... other_names') logger.info('... other_names')