- 如何从numpy数组的现有列创建新列,比如:
方法一:使用np.c_()
函数
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 31 15:23:24 2020
@author: 15025
"""
import numpy as np
class NumpyStudy:
def findNanNumber(self):
iris = np.genfromtxt("C:/Users/15025/Desktop/Iris.