- 博客(4)
- 收藏
- 关注
原创 python创建n阶空方阵
python创建空矩阵或者方阵matrixA = [None] * nfor i in range(self.n): matrixA[i] = [0] * n
2022-03-25 17:26:29
2331
原创 python查看矩阵大小
1.print(A.shape):查看矩阵的行列维度2.print(len(A)):查看矩阵有几行3.print(A.nidm):查看矩阵的维度A = np.array([[1, 1 / 3, 1 / 8], [3, 1, 1 / 3], [8, 3, 1]])print(A.shape)print(len(A))print(A.ndim)
2022-03-25 15:14:04
11237
原创 xlrd.biffh.XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b‘id,\xbb\xfa\
python读取数据出现语句xlrd.biffh.XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'id,\xbb\xfa\xba\xc5,',可能是表的内容是csv,但是打开方式是excel
2021-11-30 17:16:35
1730
原创 2021-08-14
Runner org.junit.internal.runners.ErrorReportingRunner (used on class net.xdclass.demo2.Demo2ApplicationTests) does not support filtering and will therefore be run completely.第一次记录哈哈哈哈哈哈哈哈哈idea写测试类报错,可以把引入的import org.junit.jupiter.api.Test;改成import org.j
2021-08-14 21:32:38
84
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人