python学习
python学习
没有梦想的研究生
正在为生活和学业奋斗ing.
是否可以好好善待我
My motto:Nothing is too difficult if you put your heart into it.
展开
-
plt.legend()的几种用法
**plt.legend()的几种用法**(1)设置图列位置```pythonplt.legend(loc=' ')![](https://img-blog.csdnimg.cn/20200830165252486.png#pic_center)**(2)设置图例字体大小**```pythonfontsize : int or float or {‘xx-small’, ‘x-small’, ‘small’, ‘medium’, ‘large’, ‘x-large’, ‘xx-la原创 2020-08-30 17:00:17 · 102725 阅读 · 2 评论 -
python中random的几种基本用法
python中random的基本用法原创 2020-08-30 15:44:26 · 8922 阅读 · 1 评论 -
Pythoy之 Pandas用法
Python之 pandas用法# Pandas首先,在介绍Pandas用法之前,我们先补充下Pandas的基本知识。在Python中,pandas是基于Numpy数组构建的,使数据预处理、清洗、分析工作变得更快更简单。pandas是专门为处理表格和混杂数据设计的,而Numpy更适合处理统一的数值数组数据。pandas有两个主要数据结构:Series和DataFrame。后续我会详细介绍pands的两个数据结构类型的使用。因此,在Python中引入pandas包的基本语法格式为:import pan原创 2020-08-18 16:32:51 · 278 阅读 · 0 评论