An overview of the methods used to change the dataype of a Pandas column in Python. In other words, we review how to change the column type in Pandas. How to change the value of a column in pandas. Sometimes the datatype of a column is not always what we want it to be. When our column datatype is incorrect it can cause problems because we may be limited in the operations and methods that are available to us. In this video we discuss various methods on how to convert string columns to integers and floats and vis versa. We discuss how to convert columns to datetime in another video.
Consider subscribing for weekly tips, tricks, and tutorials.
/ @chartexplorers
Join my Discord Server / discord
Convert to Datetime
• Convert to DateTime
Chapters
0:00 Intro
1:04 Data overview
1:49 string to int/float
3:55 convert w/ round
4:44 Mixed types
5:45 to_numeric
8:20 mixed to_numeric
10:40 money cols