0

I have the following CSV:

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

and I want to plot it so that X is "RPS" and X is "Conccurency" and have a line for each "Name" (gunicorn, paster).

Would look something like this but with lines:

P = Paster
G = Gunicorn

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

1 Answer 1

3

Groupby it first and then plot it.

df.groupby('Name').plot('RPS', 'Concurrency')

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

How did you get it to be different colors? and I can put a legend for the colors?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.