jardin.Collection¶
-
class
jardin.
Collection
(data=None, index=None, columns=None, dtype=None, copy=False)¶ Base class for collection of records. Inherits from pandas.DataFrame.
-
index_by
(field)¶ Returns a dict with a key for each value of field and the first record with that value as value. :param field: Name of the field to index by. :type field: string.
-
records
()¶ Returns an iterator to loop over the rows, each being an instance of the model’s record class, i.e. jardin_record by default.
-