Sir , i am getting Memory error . What should i do?

Link :- https://ide.codingblocks.com/s/590715
I run this code in jupyter .

hey @shubhambarnwal02 ,
don’t use to array , it means you want to allocate that array in memory
hence it won’t be able to do that .
use without it.
It will work.

Sir , i am not getting how to work with scipy.sparse.csr.csr_matrix . Can you please help a little .

Thank you sir , issue resolved . Sir , it seems it doesn’t matter we convert or not . Than , why we convert ? It basically wastage of memory .

it has some other uses , like viewing it and some other libraries that work on such data , needs then to be stored in memory , hence it sometime becomes like this.

what issue are facing , tell me that

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.