Skip to content

Instantly share code, notes, and snippets.

@hamletbatista
Created April 20, 2019 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamletbatista/6157361f80786242a3da0e8bc9192d25 to your computer and use it in GitHub Desktop.
Save hamletbatista/6157361f80786242a3da0e8bc9192d25 to your computer and use it in GitHub Desktop.
# combine keyword sets by keywords in common
merged_df = pd.merge(macys_df, tommy_df, how="inner", on="Keyword")
merged_df.groupby("Keyword").count().info() # we have 4086 unique entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment