📅  最后修改于: 2022-03-11 14:45:11.679000             🧑  作者: Mango
groups = data.groupby("Category")
for name, group in groups:
plt.plot(group["X Value"], group["Y Value"], marker="o", linestyle="", label=name)
plt.legend()