Add property n to TableList
This commit is contained in:
1 parent
c482869e73
commit
09ac8f4640
1 file changed
+4
@@ -342,6 +342,10 @@ class TableList(object):
|
||||
def _format_func(table, f):
|
||||
return getattr(table, 'to_{}'.format(f))
|
||||
|
||||
@property
|
||||
def n(self):
|
||||
return len(self._tables)
|
||||
|
||||
def _write_file(self, f=None, **kwargs):
|
||||
dirname = kwargs.get('dirname')
|
||||
root = kwargs.get('root')
|
||||
|
||||
Reference in new issue
Block a user