(Ii) acquaintance NumPy library (arithmetic and array operations)

This chapter describes the operation and the operation is ndarray array!

A ndarray array operations:

Operation refers to an array index and slice. To acquire an index of the array element in a specific position in the process; slice acquisition process means a subset of elements in the array.

A list of one-dimensional array indexing and slicing similar to python:

 

Guess you like

Origin www.cnblogs.com/lsyb-python/p/11900845.html