How to unpack a tuple in Python

preview_player
Показать описание
How to unpack a tuple in Python
Рекомендации по теме
Комментарии
Автор

i'm having a difficult time doing this: lets say i have a numpy array or list having lots of elements, but all elements belong to (say) 10 classes. i want to pair up all the elements, pairs of elements belonging to same class & pairs of elements belonging to different classes. how can this be done...any help would be appreciated!

stlo
visit shbcf.ru