![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 78
孙盼的博客
这个作者很懒,什么都没留下…
展开
-
python入门教程
1、python的特点和应用领域python语言的特点:优雅 明确 简单python适合的领域:web网站和各种网络服务 系统工具和脚本 作为“胶水”语言把其他语言开发的模块包装起来方便使用python不适合的领域:贴近硬件的开发(比如操作系统) 移动开发(iso和安卓) 游戏开发C/C++python和java以及c语言的对比: 语言...原创 2018-07-11 19:45:01 · 212 阅读 · 0 评论 -
numpy基础语法
python安装pip python -m pip install --upgrade pippython 安装numpy pip install numpy 1. 数组的创建 a=array([1,2,3])或者a=array([(1,2,3),(4,5,6),(7,8,9)])或者a=array([[1,2,3],[4,5,6],[7,8,9]]) ...原创 2018-07-25 14:15:41 · 1464 阅读 · 0 评论 -
pandas基础
安装: pip install pandas1、pandas基本介绍import pandas as pdimport numpy as nps=pd.Series([1,3,5,np.nan,44,1]) #Series创建一个序列print(s)dates=pd.date_range('20160101',periods=6) #创建一个日期序列print(dates)df=pd...原创 2018-07-27 09:56:13 · 198 阅读 · 0 评论 -
莫烦教程matplotlib基础
1、figureplt.figure(num=3,figsize=(8,5)) #num为figure的值plt.plot(x,y2)plt.plot(x,y1,color='red',linewidth=10.0,linestyle='--')plt.xlim((-1,2))#x轴的范围plt.ylim((-2,3))#y轴的范围plt.xlabel('xlabel')#x轴的标...原创 2018-07-30 20:33:36 · 242 阅读 · 0 评论