pda.EditLog
EditLog( edits: 'Sequence[Edit]', *, target: 'str | None' = None, project_name: 'str | None' = None, only_changes: 'bool' = False, local: 'str | None' = None, defaults: 'Mapping[str, object] | None' = None, context: 'str | None' = None, kind: 'str | None' = None,) -> 'None'The chain behind one document, oldest first.
Iterate it, index it, or read rows for plain dictionaries. Print it
or display it for the table. It is falsy when empty, so
if project.changed_since(...) reads the way you would say it.
Methods
Section titled “Methods”| Method | Description |
|---|---|
values_of | Every value at path, in order, including overwritten ones. |
values_of
Section titled “values_of”values_of(self, path: 'str') -> 'list'Every value at path, in order, including overwritten ones.
Properties
Section titled “Properties”| Property | Description |
|---|---|
data_frame | The log as a pandas.DataFrame: one row per changed field, oldest first. |
effective | Only the edits that moved something reported. |
records | The edits as plain dictionaries, copied so callers cannot bruise them. |
data_frame
Section titled “data_frame”The log as a pandas.DataFrame: one row per changed field, oldest first.
effective
Section titled “effective”Only the edits that moved something reported.
records
Section titled “records”The edits as plain dictionaries, copied so callers cannot bruise them.
Attributes
Section titled “Attributes”| Attribute | Description |
|---|---|
COLUMNS | Built-in immutable sequence. |
COLUMNS
Section titled “COLUMNS”Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.