Closed Coolphy closed 10 months ago
result_array = your_matrix.flatten()[your_matrix.flatten() != 0]
https://drive.google.com/drive/folders/1HR54cyGob64HpHQZfF2wZC-mHWJZeev_?usp=sharing
result_array = your_matrix.flatten()[your_matrix.flatten() != 0]