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