Could someone please help, what is the use of Ellipse in Python with some examples and when to use it?
I have done some search on this it can be used with a function :
 def add():
     ...
and with slicing in the list.
import numpy
n = numpy.arange(16).reshape(2, 2, 2, 2)
print(n)
print('----------------')
print(n[1,...,1])
[[[[ 0  1]
   [ 2  3]]
  [[ 4  5]
   [ 6  7]]]
 [[[ 8  9]
   [10 11]]
  [[12 13]
   [14 15]]]]
----------------
Ellipsis:[[ 9 11]
 [13 15]]
 
     
    