datetime parsing

master
Andrea Mannocci 3 years ago
parent 35c2ec418f
commit 34a37942c5

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

Loading…
Cancel
Save