I have a problem trying to find and get and array from a bi dimensional array in python. I don't pretend to use a for structure for example in order to get this. Someone knows how to get this array in just one or a few lines of code?.
Thanks.
There is an example:
my_dimensional_array = [(1,'a'),(1,'b'),(2,'c'))]
I need to return
my_single_array_from_1 = [(1,'a'),(1,'b')]