Created
July 25, 2019 03:53
-
-
Save hamletbatista/02fb89d885825398c611cba57fbdb3ec to your computer and use it in GitHub Desktop.
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
#first convert the dates to datetime objects | |
crawled["lastmod"] = pd.to_datetime(crawled["lastmod"]) | |
crawled["date"] = pd.to_datetime(crawled["date"]) | |
crawled["crawl_delay"] = crawled["date"] - crawled["lastmod"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment