transform the upper/lower triangular part of a symmetric matrix (2D array) into a 1D array and return it to the 2D format
Extract upper or lower triangular part of a numpy matrix
How to set lower triangular matrix of 0-1? Efficient way to display upper triangular part of matrix as list in python Append a 1d array to a 2d array in Numpy Python Connect all 2D Points from NumPy 2D Arrays as a triangular meshgrid numpy merge upper and lower triangular Numpy index a 1D array to 2D 2D array/list in python deconvolve 2D array Fastet way to create 2D list from two 1D list in Python How to create a 2D int list from 1D string list Converting a 1D array into a 2D class-based matrix in python Check Upper or Lower Triangular Matrix Put a 1D array into a 2D array numpy: find symmetric values in 2d arrays Convert a 1D array to a 2D array in numpy Custom display of upper triangular matrix? Python Numpy intersect1d on 1D array with 2D array How to create a symmetric matrix from a numpy 1D array the most efficient way Converting 2D String array into 1D String array in Python python for loop for creating a 2D array form 2 1D array How can get a part of a 2D array? Using any()/all() on 2d array Python - add 1D-array as column of 2D numpy returns 1d array and 2d array for same code Create a 2D list out of 1D list Return value from 2D array in Python class Make a 2D out of 1D numpy array Python Pandas - "1D" file to 2D array python read 2d in to a 1d array