Skip to content

Instantly share code, notes, and snippets.

@sid321axn
Created August 18, 2020 16:12
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 sid321axn/35c5238daca699aa09272967abf49923 to your computer and use it in GitHub Desktop.
Save sid321axn/35c5238daca699aa09272967abf49923 to your computer and use it in GitHub Desktop.
df['count-www'] = df['url'].apply(lambda i: i.count('www'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment