假设我的数据集import numpy as npimport pandas as pdimport matplotlib.pyplot as pltdf = pd.read_csv('Position_Salaries.csv')x = df["Position"]y = df["Salary"]plt.figure(figsize=(15,8))plt.title("Position vs Salary")plt.bar(x,y)plt.xlabel("Positions")plt.ylabel("Salary")plt.show()