সম্পাদনা
from scipy import sparse result = sparse.identity(4) print(result) print(result.toarray())
পূর্বরূপ