In of the video. For a one liner code. df['YearsCode'].replace(['Less than 1 year','More than 50 years'],[0,51]), inplace=True). Correct me if I'm wrong I'm new to Python. But great video again Corey! Hats off!(00:27:28 - 00:31:54)
Python Pandas Tutorial (Part 9): Cleaning Data - Casting Datatypes and Handling Missing Values
Corey Schafer
※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。
Timetable
動画タイムテーブル
動画数:234件