- 次のようなnumpyでグループ平均を見つける方法:
# 原始文件位置
file_path = "C:/Users/15025/Desktop/Iris.csv"
方法a:の使用np.genfromtxt()
、.astype()
、np.mean()
、np.where()
およびnp.unique()
機能
# -*- coding: utf-8 -*-
"""
Created on Sat Nov 7 13:10:04 2020
@author: 15025
"""
import numpy as np
class NumpyStudy:
@staticmethod