使用ipython笔记本+Pandas绘制线条

2024-09-28 05:18:39 发布

您现在位置:Python中文网/ 问答频道 /正文

我有以下CSV:

Name,Concurrency,RPS
gunicorn,50,1000
gunicorn,150,1700
paster,50,100
paster,150,300

我想把它画出来,让X是“RPS”,X是“concurency”,每个“Name”有一行(gunicorn,paster)。你知道吗

看起来像这样但有线条:

P = Paster
G = Gunicorn

200        P              G
100
50    P               G
0
     100     500    1000     2000

Tags: csvname线条concurrencygunicornrpspasterconcurency

热门问题