摘要: 数组拼接方法一 思路:首先将数组转成列表,然后利用列表的拼接函数 、`extend()`等进行拼接处理,最后将列表转成数组。 示例1: [1, 2, 5, 10, 12, 15] array([ 1, 2, 5, 10, 12, 15]) 该方法只适用于简单的一维数组拼接,由于转换过程很耗时间,对于 阅读全文
posted @ 2019-01-01 11:17 Sherrrry 阅读(264) 评论(0) 推荐(0)
摘要: Here is a function in Numpy module which could apply a function to 1D slices along the Given Axis. It works like apply funciton in Pandas. This functi 阅读全文
posted @ 2019-01-01 10:42 Sherrrry 阅读(206) 评论(0) 推荐(0)
摘要: You can launch IPython on the command line just like launching the regular Python interpreter except with the ipython command: $ ipython Then you can 阅读全文
posted @ 2019-01-01 06:46 Sherrrry 阅读(157) 评论(0) 推荐(0)