Python Numpy Number Of Rows In Pandas