Skip to content

Instantly share code, notes, and snippets.

@hamletbatista
Created July 25, 2019 03:53
Embed
What would you like to do?
#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