The size of indptr matrix in csr_matrix/csc_matrix is the same as the number of rows/columns. Just a trick to save memory. For from_file_parallel(), each worker uses a lot of memory and may crash when doing tocsr()/tocsc(). So, I just tried to save some memory.  I am not sure how much memory space it can save though .