Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- toto = []
- for index_x, item_x in enumerate(data):
- x = np.sum(data[index_x,:])
- for index_y, item_y in enumerate(data):
- if index_x != index_y:
- print (x, "|", np.sum(data[index_y,:]), "|", x+np.sum(data[index_y,:]))
- toto.append([x, np.sum(data[index_y,:]), x+np.sum(data[index_y,:])])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement