我想要生成对称的零对角矩阵。我的对称部分可以工作,但是当我使用numpy中的fill_diagonal作为结果时,我得到了"None“。我的密码在下面。感谢您的阅读matrix_size = int(input("Size of the matrix \n"))
random_matrix = np.random
嗨,我是python和sqlite的新手,我只是在测试一个简单的代码,如下所示:导入sqlite3conn = sqlite3.connect('FBG.db所以我想知道这是什么原因?因为对我来说,这与“插入”或“插入或替换”没有任何区别。to turn the csv files into a matrix