首页 分享 iris = sns.load

iris = sns.load

来源:花匠小妙招 时间:2024-09-16 01:55

最新推荐文章于 2024-07-08 22:31:54 发布

Arthur-Ji 于 2020-04-22 22:55:44 发布

planets = sns.load_dataset( 'iris')

1

然后就可以发现iris已经存储了数据了,那么这些数据到底是从哪里来的呢?

我们查看一下load_dataset的docstring:

In [ 100]: sns.load_dataset??

Signature: sns.load_dataset(name, cache= True, data_home= None, **kws)

def load_dataset(name, cache=True, data_home=None, **kws):

"""Load a dataset from the online repository (requires internet).

Name of the dataset (`name`.csv on

https://github.com/mwaskom/seaborn-data). You can obtain list of

available datasets using :func:`get_dataset_names`

cache : boolean, optional

If True, then cache data locally and use the cache on subsequent calls

data_home : string, optional

The directory in which to cache data. By default, uses ~/seaborn-data/

Passed to pandas.read_csv

1

可以看到docstring的第一行就说明了这个函数是从在线存储库加载数据集的(需要互联网)。

网址:https://github.com/mwaskom/seaborn-data

下面就是可以在线或取得数据集啦(可以用来做练习哦)

相关知识

iris = sns.load
鸢尾属植物,Iris plant英语短句,例句大全
IRIS(鸢尾花)
白花马蔺(学名:Iris lactea Pall.)是多年生密丛草本植物
R语言朴素贝叶斯Naive Bayes分类Iris鸢尾花和HairEyeColor学生性别和眼睛头发颜色数据
python利用c4.5决策树对鸢尾花卉数据集进行分类(iris)
IRIS 爱丽思 Deepot深型 圆形花盆 5.34元
IRIS 爱丽思 花盆塑料深型树脂花盆特大号多肉花盆种花种菜盆爱丽丝 12号蓝色 26.3元(需买2件,共52.6元)
东亚间断分布植物玉蝉花(Iris ensata)亲缘地理学及传粉互作对其后缘种群维持的作用
IRIS 爱丽思 园艺林修剪树枝剪刀剪枝剪花多用工具剪刀锁扣收纳方便 直剪刀 34.65元

网址: iris = sns.load https://www.huajiangbk.com/newsview140281.html

所属分类:花卉
上一篇: 四季常开花卉的新品种有哪些
下一篇: 我国花卉品种

推荐分享