MCPcopy Index your code
hub / github.com/clips/pattern / extend

Method extend

pattern/db/__init__.py:1791–1793  ·  view source on GitHub ↗
(self, rows, default=None)

Source from the content-addressed store, hash-verified

1789 def append(self, row, default=None, _m=None):
1790 self.insert(len(self), row, default)
1791 def extend(self, rows, default=None):
1792 for row in rows:
1793 self.insert(len(self), row, default)
1794
1795 def group(self, j, function=FIRST, key=lambda v: v):
1796 """ Returns a datasheet with unique values in column j by grouping rows with the given function.

Callers 8

__radd__Method · 0.95
__iadd__Method · 0.95
_unpack_fieldsFunction · 0.45
__init__Method · 0.45
__add__Method · 0.45
insertMethod · 0.45
extendMethod · 0.45
insertMethod · 0.45

Calls 2

insertMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected