def __len__(self):
        """The number of features (number of rows) in this column."""
        if self.index is None:
            return F.shape(self.storage)[0]
        else:
            return len(self.index)
The number of features (number of rows) in this column.
python/dgl/frame.py