##in question the dataset is not provided, so creating some
##random data
##In case of any issues please comment, i will definitely help you.
##please rate +ve :)
import numpy as np
import pandas as pd
yrs_since_phd=np.random.randint(1,50,(25))
sal=np.random.randint(1,20,(25))*1000
salaries_nonull=pd.DataFrame({'yrs.since.phd':yrs_since_phd,'salary':sal})
#print(salaries_nonull)
##paste the code from here, no need of code above for your question
import matplotlib.pyplot as plt
#%pylab inline
#your code
plt.scatter(salaries_nonull['yrs.since.phd'],salaries_nonull['salary'])
plt.title("Salary vs. Yrs since Phd")
plt.xlabel('Yrs since Phd')
plt.ylabel('Salary')
Exercise 4: Plot salary as a function of yrs.since.phd Use the scatter() function to make a...