Question: Client Number Address Zipcode 123 ABC 11111 124 ABD 11112 125 ABE 11114 126 ABF 11115 I have been able to export the file to

Client Number Address Zipcode
123 ABC 11111
124 ABD 11112
125 ABE 11114
126 ABF 11115

I have been able to export the file to python and convert it to dataframe. DataFrama being "df". How can I write an argument, where if a Zipcode is outside of a list based on column in csv file. If Zipcode is not in [11111,11112,11113,11114] then it is a red flag.I don't need an input function. I just need an argument where the code reads the zipcode column exported from csv and tells me where the zipcode has red flag and is outside of [11111,11112,11113,11114].

Thank you!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!