I have a pd df with 4 columns (street, state, city, zip code) and 100+ addresses. I want to be able to iterate and pass on each row & 4 columns to the function, until it can loop through all the 100+ rows. Any advice on how to do so?
# get api response
search_results_response = search_results(zwsid=zwsid,
rapid_api_key=rapid_api_key,
street=addr.iloc[0][0],
city=addr.iloc[0][1],
state=addr.iloc[0][2],
zipcode=addr.iloc[0][3])
# transform xml response to df
df = parse_search_results(response_content = search_results_response)
df