Doubt regarding histograms using Numpy

While trying to make histogram with a 2D array instead of using a single row as an argument and making a histogram. the function np.histogram took all the three rows and made a single histogram so what change should I make, that the histogram uses only axis 1 as an argument.

What I did was -
np.histogram( arr2D[0] , bins = 5)
is their any other method which I can use?

Hi @Aman,
Looks like some syntactical mistake. Please refer to either numpy documentation, or this really good explanation