def nrows_expected ( self ) : return np . prod ( [ i . cvalues . shape [ 0 ] for i in self . index_axes ] )
what axis is column in numpy python
based on our axes compute the expected nrows
def nrows_expected(self):
        """ based on our axes, compute the expected nrows """
        return np.prod([i.cvalues.shape[0] for i in self.index_axes])