Stocking large numbers into numpy array
问题 I have a dataset on which I'm trying to apply some arithmetical method. The thing is it gives me relatively large numbers, and when I do it with numpy, they're stocked as 0. The weird thing is, when I compute the numbers appart, they have an int value, they only become zeros when I compute them using numpy. x = np.array([18,30,31,31,15]) 10*150**x[0]/x[0] Out[1]:36298069767006890 vector = 10*150**x/x vector Out[2]: array([0, 0, 0, 0, 0]) I have off course checked their types: type(10*150**x[0