题解 | #某类鸢尾花数据均值#
某类鸢尾花数据均值
http://www.nowcoder.com/practice/26da9b79fcb74668b40b85a725f5b517
import pandas as pd
import numpy as np
iris = pd.read_csv('iris.csv', sep=',')
print(iris[iris['type']=='Iris-setosa'].iloc[:,0:4].mean())
某类鸢尾花数据均值
http://www.nowcoder.com/practice/26da9b79fcb74668b40b85a725f5b517
import pandas as pd
import numpy as np
iris = pd.read_csv('iris.csv', sep=',')
print(iris[iris['type']=='Iris-setosa'].iloc[:,0:4].mean())
相关推荐