I have a Memory error when I use combinations with a big list of list like len 735.
Any way to do a similar process but without the error?
from itertools import combinations
valores = [[5, 10.732544898986816], [9, 10.596251487731934], [11, 10.70582103729248]]
f = list(combinations(valores, 3))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…