EndNote在Google Docs中插入文献方法。Google Docs虽然现在国内很悲催,但是还是想说说EndNote如何在Google Docs中插入参考文献的方法。其实本质上实现方法同EndNote在WPS中的使用方法一样。 Google Docs......
2021-06-25 28 EndNote,实,现在,Google,Docs,中,插入,文献,方法,
Python作为常用的数据分析工具,在可视化工具上,有很多优秀的第三方库如matplotlib、seaborn、plotly、cufflinks、boken、pyecharts等。由于matplotlib绘制的图表大多数时候确实不太美观,且使用较古怪,seaborn对matplotlib进行了进一步的封装,它是matplotlib的一个高级API,使用方便。(相当于cufflinks封装了plotly一样)在数据科学竞赛及数据分析领域,matplotlib+seaborn依然是主流的配置,尽管plotly等对其有所冲击(看个人喜好吧)。
运行pip install seaborn
进行安装,Seaborn交互性极强,建议使用jupyter notebook作为IDE。(pip install jupyter
安装,命令行jupyter notebook
启动)
import matplotlib.pyplot as plt import seaborn as sns df = sns.load_dataset('tips') df.head()
Seaborn的最大优点在于其提供了较为美观的各类图表,这也是为什么平时更多使用seaborn而不是matplotlib直接绘制的原因。
plt.figure(figsize=(12, 6)) sns.scatterplot(x='total_bill', y='tip', data=df, hue='day') # 散点图 # sns.stripplot(x='total_bill', y='tip', data=df, hue='day') # 分类散点图 # sns.swarmplot(x='total_bill', y='tip', data=df, hue='day') # 分簇散点图
plt.figure(figsize=(12, 6)) sns.lineplot(x='total_bill', y='tip', data=df, size=6)
plt.figure(figsize=(12, 6)) sns.barplot(x='size', y='tip', data=df)
plt.figure(figsize=(12, 6)) sns.countplot(df['day'])
plt.figure(figsize=(12, 6)) sns.distplot(df['tip'])
plt.figure(figsize=(8, 4)) sns.boxplot(data=df) plt.figure(figsize=(8, 4)) sns.boxenplot(data=df)
plt.figure(figsize=(12, 6)) sns.heatmap(df.corr())
针对数据可视化的不同目的,seaborn提供了relplot(),catplot(),displot(),lmplot()四大主要高级函数。
plt.figure(figsize=(12, 8)) sns.relplot(x='total_bill', y='tip', data=df, hue='day')
plt.figure(figsize=(12, 8)) sns.catplot(x='total_bill', y='day', data=df)
plt.figure(figsize=(12, 8)) sns.lmplot(x='total_bill', y='tip', data=df, height=6, fit_reg=True, hue='day')
Seaborn是基于matplotlib的封装,很多底层的定制仍然需要使用matplotlib定制,如label、lim等。
plt.figure(figsize=(12, 6)) sns.lineplot(x='total_bill', y='tip', data=df, size=6) plt.xlim(10, None)
plt.figure(figsize=(16, 6)) plt.subplot(1, 2, 1) sns.set_style('darkgrid') sns.heatmap(df.corr()) plt.subplot(1, 2, 2) sns.set_style('whitegrid') sns.heatmap(df.corr(), cmap='YlGnBu')
[免责声明]本文来源于网络,不代表本站立场,如转载内容涉及版权等问题,请联系邮箱:83115484#qq.com,#换成@即可,我们会予以删除相关文章,保证您的权利。转载请注明出处:http://www.tutorialesandroide.com/wps/endnote/64.html
相关文章
EndNote在Google Docs中插入文献方法。Google Docs虽然现在国内很悲催,但是还是想说说EndNote如何在Google Docs中插入参考文献的方法。其实本质上实现方法同EndNote在WPS中的使用方法一样。 Google Docs......
2021-06-25 28 EndNote,实,现在,Google,Docs,中,插入,文献,方法,
本篇文章给大家谈谈endnote引文模板,以及endnote引用模板对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。 本文目录一览: 1、endnote毕业论文参考文献格式 2、endnote爱......
2023-12-16 0 endnote引文模板
事实经过是这样的,有位网友想做ESI分析,想把WOS导出并导入到EndNote中文献导出到Excel,并且把Notes中的部分只保留Times Cited数值,Notes其他内容全部不要。 其实这个功能单纯的依靠EndNote是无法......
2021-06-25 552 EndNote,如何,导出,文献,Times,Cited,数值,到,Excel,
EndNote在Word中插入文献时,出现了「unhandled exception」错误,怎么解决这个问题。本文就EndNote的「unhandled exception」错误原因和解决方法作一介绍。 EndNote出现unhandled exception错误原因 EndNote在Wor......
2021-06-25 95 EndNote,出现,unhandled,exception,错误,如何,解决,
今天给各位分享endnote支持的office几的知识,其中也会对endnote用哪个版本的好进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: 1、如何在word......
2023-12-15 0 endnote支持的office几