我有以下数据框
df = pd.DataFrame({
'id':['ABC1','ABC2','ABC3'],
'A1':[550,350,320],
'A2':[780,619,567],
'A3':[520,319,439],
'A4':[338,312,345],
'A5':[287, 255, 234],
'A6':[260,235,232],
'A7':[235,239,251],
'Profit':[350,269,270]
})
如何为每个ID绘制单个图,例如,ID为'ABC1','ABC2','ABC3'的单个图,其中A1,A2,A3,A4,A5,A6,A7的利润为Y轴,ID为X轴
检查电子表格上绘制的相同数据:https://docs.google.com/spreadsheets/d/1s0vMSw5onvD0VkFXAR8P7WcHAWwE2y7MNkK8eN62y58/edit?usp=sharing