阅读背景:

为什么用括号和逗号对索引的numpy数组的行为有所不同?

来源:互联网 

I tend to index numpy arrays (matrices) with brackets, but I've noticed when I want to slice an array (matrix) I must use the comma notation. Why is this? For example,I tend to index numpy arrays (matrices) with br




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: