How to know total number
Please how can one know the number of total array when it is not written?
1 answers ( 0 marked as helpful)
Hi Sheba,
thanks for reaching out! You can find out the size of a np.array
easily with shape:
Y_pr.shape
will return 300, 2 which means that we have a 300 by 2 array.
Hope this helps!
Best,
365 Eli