2022云原生K8s全栈架构师:基于世界500强的k8s实战课程
plt.scatter(df_survived["age"], df_survived["fare"], color="green", label="Survived") plt.scatter(df_not_survived["age"], df_not_survived["fare"], color="red", label="Not Survived") plt.xlabel("Age") plt.ylabel("Fare") plt.title("Relationship between Age and Fare") plt.legend() plt.show()