How to Change Column Types in Pandas

Saturn Cloud
1,206 views February 15, 2023

Changing a column’s data type is often a necessary step in the data-cleaning process. There are several options for changing types in pandas - which to use, depends on your data and what you want to accomplish. In this short guide, we're taking you through how to change the data type of DataFrame columns. For the step-by-step blog guide, click here: https://saturncloud.io/blog/pandas-tips-change-column-type/?utm_source=Youtube&utm_medium=How+to+Change+Column+Types+in+Pandas+Video&utm_campaign=How+to+Change+Column+Types+in+Pandas+Video

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close