Fill missing salary values with the mean salary of the existing values.
DataFrame df with columns: name, email, age, salary (salary has some nulls)
salary column with the mean of non-null salariesresultReady to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.