from scipy.sparse import *
values = [42]
row_ind = [211147]
col_ind = [9]
last_array = csc_matrix((values, (row_ind, col_ind)), shape=(211148, 211148))
print(last_array[211147, 9])
MemoryError when creating a very large numpy array