摘要: NumPy Reference: Indexing Integer array indexing: Select array elements with another array 阅读全文
posted @ 2017-12-18 21:32 Zhentiw 阅读(254) 评论(0) 推荐(0)
摘要: NumPy Reference: Indexing Note: Indexing starts at 0 (zero). def slicing(): a = np.random.rand(5,4) print(a) """ [[ 0.15372787 0.83347785 0.86855635 0 阅读全文
posted @ 2017-12-18 21:21 Zhentiw 阅读(218) 评论(0) 推荐(0)
摘要: NumPy Reference: Mathematical functions numpy.sum: Sum of elements - along rows, columns or all numpy.min, numpy.max, numpy.mean: Simple statistics Al 阅读全文
posted @ 2017-12-18 21:08 Zhentiw 阅读(178) 评论(0) 推荐(0)
摘要: When making a reusable component, you'll find that people often like to have the API they're most familiar with, so in this lesson we'll recreate the  阅读全文
posted @ 2017-12-18 19:50 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: If you have state that needs to exist throughout your application, then you may find yourself passing props all over the application and even "drillin 阅读全文
posted @ 2017-12-18 15:55 Zhentiw 阅读(255) 评论(0) 推荐(0)