上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12247644.html ufunc A universal function (or ufunc for short) is a function that operates on ndarrays i 阅读全文
posted @ 2020-02-01 10:09 李白与酒 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12246482.html ·reshape() In many cases, you can convert an array from one shape to another without copy 阅读全文
posted @ 2020-01-31 19:53 李白与酒 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12246045.html Boolean Indexing The boolean array must be of the same length as the array axis it’s inde 阅读全文
posted @ 2020-01-31 17:37 李白与酒 阅读(1573) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12245002.html Basic Indexing and Slicing One-dimensional arrays are simple; on the surface they act sim 阅读全文
posted @ 2020-01-31 12:26 李白与酒 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12244981.html vectorization Arrays are important because they enable you to express batch operations on 阅读全文
posted @ 2020-01-31 12:20 李白与酒 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12244852.html dtype The data type or dtype is a special object containing the information (or metadata, 阅读全文
posted @ 2020-01-31 11:20 李白与酒 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12244066.html ndarray - A Multidimensional Array Object One of the key features of NumPy is its N-dimen 阅读全文
posted @ 2020-01-30 21:42 李白与酒 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12243889.html Introduction NumPy is the fundamental package for scientific computing with Python. It co 阅读全文
posted @ 2020-01-30 21:03 李白与酒 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12233622.html dis 可以使用dis模块来判断哪种代码的运行速度更快,具体的原理是:Python代码是由Python虚拟机执行的,Python虚拟机执行的是字节码,Python代码运行前会被编 阅读全文
posted @ 2020-01-25 23:55 李白与酒 阅读(946) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12233607.html with with语句从Python 2.5开始引入,实现了上下文管理协议,实现了__enter__() 和 __exit__() 方法。 没有使用上下文管理器之前的代码: fi 阅读全文
posted @ 2020-01-25 23:41 李白与酒 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页