numpy.empty_like (a, dtype = None, order = & # 39; K & # 39 ;, subok = True): return a new array with the same shape and type as this one array.
shape: Number of rows order: C_contiguous or F_contiguous dtype: [optional, float (by Default)] Data type of returned array. subok: [bool, optional] to make subclass of a or not
array with the same shape and type as a given array.
Matrix a : [16843008 1058682594] Matrix c: [[0 0 0] [0 0 0]]
These codes will not work for online IDs. Please run them on your systems to see how they work.
This article is courtesy of Mohit Gupta_OMG
numpy.empty_like () in Python NumPy: Questions
numpy.empty_like () in Python Python functions: Questions