Created
December 14, 2020 05:10
-
-
Save MoGaber/b7af51e14339fc953f4172fd13c26d76 to your computer and use it in GitHub Desktop.
get_sent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# turn the email sent date into a datetime value instead of a string | |
date_vectorizer = lambda x: datetime.datetime.strptime(x, "%Y-%m-%d %H:%M:%S UTC+0000") | |
full_data["emails_date_sent"] = full_data["emails_date_sent"].apply(date_vectorizer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment