I went with DataFrames for ins and outs, but the import is weirdly silent about failed datetimes.
For now, using:
# Format the dates
if 'birthdate' in df.columns:
df['birthdate'] = pd.to_datetime(df.birthdate).dt.strftime('%Y-%m-%d')
if 'decision_date' in df.columns:
df['decision_date'] = pd.to_datetime(df.decision_date).dt.strftime('%Y-%m-%d')
if 'created_at' in df.columns:
df['created_at'] = pd.to_datetime(df.created_at).dt.strftime('%Y-%m-%d %H:%M:%S')
When I grab the column names I do also get the types, so maybe move this into the sdk. However, I am potentially changing data, specifically created_at (TODO: verify that the timezone info doesn't skew).
I went with DataFrames for ins and outs, but the import is weirdly silent about failed datetimes.
For now, using: