python学习相关知识点
1.ndarray中,添加行或列:https://blog.csdn.net/lishuandao/article/details/52444288
2.numpy中ndarray数组拼接方法介绍:https://blog.csdn.net/zyl1042635242/article/details/43162031
3.ndarray怎么求每一列元素的最大最小值,然后把每列的元素做归一化:
4.三行代码实现txt转csv
import numpy as np import pandas as pd txt = np.loadtxt('file.txt') txtDF = pd.DataFrame(txt) txtDF.to_csv('file.csv',index=False)
np.loadtxt()的参数:https://blog.csdn.net/m0_38034312/article/details/79096963
https://www.jianshu.com/p/ef37f739b531