numpy创建空的矩阵

#关系矩阵,先初始化
matric_similarty=np.zeros(shape=(401,401)).astype(np.str_)
matric_similarty[matric_similarty == ‘0.0’] = ‘’

你可能感兴趣的:(numpy,矩阵,python)