Extract Values From Array Python