![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 89
daoxu_hjl
这个作者很懒,什么都没留下…
展开
-
Python Numpy & Pandas
List of lists 只适合处理小的data sets,因为list都会放在内存中,内存有限;Numpy library 可以较好地处理大的data setsNumpy官方文档: http://www.numpy.org/Convert a list of lists into a ndarrayimport numpy as npf = open("nyc_taxis.cs...原创 2021-03-27 20:52:10 · 161 阅读 · 0 评论 -
Python Resources
1. Basic Python Practice Bookhttps://anandology.com/python-practice-book/index.htmlA book of Python exercises to help you learn the basic language syntax.2. A Python Crash Coursehttps://www.grahamwheeler.com/posts/python-crash-course.html3. Beginner原创 2021-03-23 22:15:34 · 180 阅读 · 0 评论 -
numpy.random
在python数据分析的学习和应用过程中,经常需要用到numpy的随机函数,由于随机函数random的功能比较多,经常会混淆或记不住,下面我们一起来汇总学习下。import numpy as np1 numpy.random.rand()numpy.random.rand(d0,d1,…,dn)rand函数根据给定维度生成[0,1)之间的数据,包含0,不包含1dn表格每个维度返回值为...转载 2019-12-30 22:16:36 · 107 阅读 · 0 评论 -
matplotlib命令与格式:参数配置文件与参数配置
<div class="blog-column-pay"> <a data-report-click="{"mod":"popu_834","dest":&...转载 2019-12-24 22:23:40 · 971 阅读 · 0 评论 -
jupyter notebook
1. MarkDown 标记在Jupyter的文本编辑单元格中,采用的就是Markdown的语法规范,因此它可以设置文本格式、插入链接、图片甚至数学公式(类似于LaTeX,编辑公式非常漂亮),如此一来,整个文档就看起来非常图文并茂。同样使用 Shift + Enter 运行Markdown单元来显示格式化的文本。两个“#”表示二级标题,三个“#”表示三级标题,以此类推字符串头尾各...原创 2019-12-17 22:35:31 · 122 阅读 · 0 评论 -
Python 文件操作
https://www.runoob.com/python3/python3-file-methods.html1. 文件打开open() 函数open(file, mode=‘r’, buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None)file: 必需,文件路径(相对或者绝对路...转载 2019-07-18 18:18:54 · 122 阅读 · 0 评论 -
命令行参数_Python 笔记_20190628
1. 命令行参数如何传递参数给Python 脚本,python 如何获取参数值,详见argparse — Parser for command-line options, arguments and sub-commands原创 2019-07-18 18:12:28 · 129 阅读 · 0 评论