Created
July 25, 2019 03:33
-
-
Save hamletbatista/5e3a65bc19427d8c5570482b572d04b2 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
merged = pd.merge(df, df_logs, right_on="path", left_on="path", how="left") | |
#pages not crawled | |
notcrawled=merged[["path", "lastmod", "date"]][merged.date.isnull()] | |
notcrawled.to_csv("notcrawled.csv") | |
#pages crawled | |
crawled = merged[["lastmod", "date", "path"]].dropna() | |
crawled.to_csv("crawled.csv") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment