I get back good results from the following, but how to I extract that data from the tuple? In other words, how do I clean up the data?
Here is the data from the data
Other way using map
map(lambda x: str(x[0]), policy_id)
If you want new lines then
"\n".join(map(lambda x: str(x[0]), policy_id))