what does .Survived means?
and this function belong to which module?
Confusion about function
Hey,
.Survived is not a function. It is just a column in the dataframe.
So, there are 2 ways to access the columns from a dataframe
df['Survived']
df.Survived
you can use any of them, in this case prateek bhaiya used the second one, which might look like a function, but it is just a feature from dataframe.
I hope this clarify you doubt.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.