I have a array of size 13000*300000 filled with integer from 0 to 255. I would like to change their data type from integer to float as if data is a numpy array:
data.astype('float')
While changing its data type from integer to float, it shows memory error. I have 80 GB of RAM. It still shows memory error. Could you please let me know what can be the reason for it?
datais about 30 GB located sequentially in memory. You need more 30 GB (also sequentially) to store the result. I believe key point here is sequentially