100个numpy问题43-100

  1. 如何从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.

猜你喜欢

转载自blog.csdn.net/u011699626/article/details/109409123