Created
December 14, 2019 20:48
-
-
Save salma71/374901b9e133c29eecf7c3c14df09652 to your computer and use it in GitHub Desktop.
checking how many na in dataset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # clean up NAs | |
| sapply(train_df, function(x) sum(is.na(x))) | |
| # PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare | |
| # 0 0 0 0 0 177 0 0 0 0 | |
| # Cabin Embarked | |
| # 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment