i have an array a1 in numpy .when using the size function i have encountered two ways both are giving correct answer, but i dint understand the difference.
below is the code used:
import numpy as np
a1= np.array([1,2,3,4,5,6])
print(a1.size)
print(np.size(a1))
out put is : 6
Thanks in advance