I'm new to python so I apologize if my terminology is incorrect.
I have an array (or list) filled with subarrays with named indices. For example:
[{'tag': 'apple', 'type': 'fruit'}, {'tag': 'carrot', 'type': 'vegetable'}]
I want to return an array that contains each element named 'tag.' For example:
['apple', 'carrot']
Furthermore, I'd like to be able to section the array as well (i.e. [25:50]). But I think I could figure that out if somebody has the solution to the above problem.
Thank you!
~Bub