Data Science Jumpstart with 10 Projects Transcripts
Chapter: Project 5: Cleaning Heart Disease Data in Pandas
Lecture: Updating the Cleanup Function to Clean the Oldpeak Column
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Our next column is Old Peak, which is depression induced by exercise. Let's look at that. We'll pull off our value counts.
0:08
Looks like these look like floating point numbers, so I'm going to convert this to a float pyarrow. You can see that I specified that dtype there.
0:19
Let's run that and look at the value counts after we do that. Looks like we're good.