def triu_indices_from(arr, k=0):
    if not arr.ndim == 2 and arr.shape[0] == arr.shape[1]:
        raise ValueError("input array must be 2-d and square")
    return triu_indices(arr.shape[0], k)
Perform conversions on any other fixed-width column data types.
dataset/ETHPy150Open nipy/nitime/nitime/utils.py/triu_indices_from--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/fitsrec.py/FITS_rec._convert_other