mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
Debug timestamp
This commit is contained in:
Binary file not shown.
@@ -48,6 +48,10 @@ def list_people_profiles_csv(website_id, client, path, filename):
|
||||
loop_flag = False
|
||||
else:
|
||||
page_number += 1
|
||||
# Timestamp to datetime
|
||||
list_people_profiles_df['created_at']=(pd.to_datetime(list_people_profiles_df['created_at'],unit='s'))
|
||||
list_people_profiles_df['updated_at']=(pd.to_datetime(list_people_profiles_df['updated_at'],unit='s'))
|
||||
list_people_profiles_df['active-last']=(pd.to_datetime(list_people_profiles_df['active-last'],unit='s'))
|
||||
|
||||
# Datetime add
|
||||
list_people_profiles_df['api_called_at'] = date.today() - timedelta(days = 1)
|
||||
|
||||
Reference in New Issue
Block a user