Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在python中说“从数组的开头”和“所有的数组”。例如,如果我在 Matlab 中的代码是:
images(:, n) = img(:)
它在 python 中的等价物是什么?
这是 images[:,n] = img.ravel()
images[:,n] = img.ravel()