Python 函数
熊猫火炮
这个作者很懒,什么都没留下…
展开
-
python 函数解析 (numpy 篇)
每碰到一个不懂的就查查源码,看看参数怎么写的。注意多积累。 .cumsum cumsum源文档 numpy.cumsum(a,axis=None,dtype=None,out=None) Return the cumulative sum of the elements along a given axis. 直译翻译过来就是返回前项列的累积和。但是这个累积是对原列的基础上。不是叠...原创 2019-08-18 16:43:55 · 152 阅读 · 0 评论 -
Python 数字函数
math / cmath(复数计算) 但是得先导入才能使用 >>> import math >>> dir(math) ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'acos', 'acosh', 'asin', 'asinh', 'atan', ...原创 2019-08-25 10:50:27 · 188 阅读 · 0 评论