碎片
yql_007
这个作者很懒,什么都没留下…
展开
-
shell学习笔记
shell学习笔记set -e, set +e 用法# script Aset -e # Exit the script if an error happens# script Bset +e # Don't bail out of bash script if ccache doesn't exist# script Cset -e # Back to regula "bail o...原创 2019-04-18 10:55:38 · 186 阅读 · 0 评论 -
序列处理函数的应用
chunkChunks an list into smaller lists of a specified size.Uses range to create a list of desired size. Then use map on this list and fill it with splices of lst.from math import ceildef chu...原创 2019-02-26 21:51:23 · 270 阅读 · 0 评论 -
用matplotlib.pyplot绘制甜甜圈图
# 用matplotlib绘制甜甜圈饼图# The effect of the donut shape is achieved by setting a width to the pie's wedges through the wedgeprops argument.%matplotlib inline # matplotlib的图表直接嵌入到Notebook之中, 仅在jupyter n...原创 2019-05-14 14:54:08 · 1606 阅读 · 0 评论