lamindb.models.RecordList¶
- class lamindb.models.RecordList(records)¶
- Bases: - UserList,- Generic[- T]- Is ordered, can’t be queried, but has - .df().- Methods¶- append(item)¶
 - clear()¶
 - copy()¶
 - count(item)¶
 - df()¶
- Return type:
- DataFrame
 
 - extend(other)¶
 - index(item, *args)¶
 - insert(i, item)¶
 - one()¶
- Exactly one result. Throws error if there are more or none. - Return type:
- TypeVar(- T)
 
 - pop(i=-1)¶
 - remove(item)¶
 - reverse()¶
 - save()¶
- Save all records to the database. - Return type:
- RecordList[- TypeVar(- T)]
 
 - sort(*args, **kwds)¶