Question: Based on the code: df [ ' Salary _ m ' ] = df [ ' Salary ' ] . isnull ( ) . astype

Based on the code: df['Salary_m']= df['Salary'].isnull().astype(int), what will be the result in the 'Salary_m' column when there is a missing value in the 'Salary' column?
Question 1 options:
True
1
False
'Missing'
0
NaN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!