Avatar of LN41
LN41
 asked on

python - how to get values in csv to a report

Trying to get a report from a csv file.

csv file: servers.csv
name,date,zone
server1,3/3/2016,dmz
server2,4/3/2017,prod
server3,4/4/2017,nonprod
server4,6/6/2017,prod

I'm trying to get a list of prod servers that contains the server name and zone.
Python

Avatar of undefined
Last Comment
LN41

8/22/2022 - Mon
SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
aikimark

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
LN41

ASKER
Hi aikimark,Your answer is helpful but looking for a way to filter only for prod servers rather than manually id them. ideal result produces:

name zone
server2 prod
server4 prod
ASKER CERTIFIED SOLUTION
LN41

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
LN41

ASKER
figured it out myself
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy