NaN, or “not a number,” marks an entry that is missing, unreadable, or cannot be converted into a number. In a dataset, NaN values can prevent a model from fitting successfully. section 13.2
Missing cabin records
In the Titanic dataset, many Cabin entries are NaN: 687 of 891 values are missing. Because this feature is mostly empty, removing the column may be more useful than keeping it. section 13.2








