Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 06:10
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 velotiotech/6d748a0f699939637ff849c2bc600347 to your computer and use it in GitHub Desktop.
Save velotiotech/6d748a0f699939637ff849c2bc600347 to your computer and use it in GitHub Desktop.
non_numeric_revenues = df.revenue.str.contains('[^0-9.-]')
df.loc[non_numeric_revenues].head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment