Regression Analysis, Statistics.
between Salary and Experience plt.scatter(data['YearsExperience'], data['Salary'], color='lightcoral') plt.title('Salary vs Experience') plt.xlabel('Years of Experience') plt.ylabel('Salary') plt.box(False) plt.show() Output: Terlihat ada hubungan linear antara Years of Experience dengan Salary.