摘要: python加载txt数据 矩阵 def loadDataKVSet(fileName): dataMat = [] fr = open(fileName,'r', encoding='utf-8') for line in fr.readlines(): curLine = line.strip( 阅读全文
posted @ 2021-06-05 21:31 西北逍遥 阅读(152) 评论(0) 推荐(0) 编辑