Skip to content

Instantly share code, notes, and snippets.

@siddharthganjoo
Created August 23, 2021 07:13
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 siddharthganjoo/b23d8fdd26f501cf5b2ccbbe3930aef9 to your computer and use it in GitHub Desktop.
Save siddharthganjoo/b23d8fdd26f501cf5b2ccbbe3930aef9 to your computer and use it in GitHub Desktop.
#changing column type to numeric
df = df.apply(pd.to_numeric)
df.dtypes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment