Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: help for Kaggle Titanic Set fill the missing Age by median age of Pclass and Sex
Post: RE: help for Kaggle Titanic Set fill the missing A...

(Nov-21-2018, 01:30 AM)scidam Wrote: You are probably looking for this: train_df.Age.fillna(train_df.groupby(['Sex','Pclass]).transform('median').Age, inplace=True)train_df.Age.fillna(pd.concat([tr...
Parthasarathi009 General Coding Help 2 6,180 Nov-21-2018, 06:50 PM
    Thread: help for Kaggle Titanic Set fill the missing Age by median age of Pclass and Sex
Post: help for Kaggle Titanic Set fill the missing Age b...

Hello All, I am new to python programming and I am trying to solve the Titanic data set from Kaggle for self-learning. The columns of train_df are ['PassengerId' 'Survived' 'Pclass' 'Name' 'Sex' 'Age...
Parthasarathi009 General Coding Help 2 6,180 Nov-21-2018, 12:32 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020