I want to create an empty array where I am expecting the values to be random.randint(0, 2 ** 128). The values will be written in numpy array. When trying to create empty array using numpy.int128 as:
X = numpy.empty(5, dtype=numpy.int128)
print X
I get this error:
Traceback (most recent call last):
File "test.py", line 62, in <module>
X = np.empty(5, dtype=np.int128)
AttributeError: 'module' object has no attribute 'int128'
Does it mean numpy does not support this limit of values?