-
Notifications
You must be signed in to change notification settings - Fork 4
Notes testing submodule
Franz Wöllert edited this page Dec 29, 2019
·
1 revision
Single atomic data modification (column, row, value)
Collection of one or more mutations.
- init (mutations[Mutation, Mutant])
- mutations: Return all defined mutations (recursive mutation check)
- mutate: modify plain frame with defined mutations (ensure copy!)
- validate_unique_mutations (check for mutation overwrites)
- typedcolumn (property)
Mutant formulations:
- dict refers to single mutant with one or more mutations
- list of dicts refer to multiple mutants with one or more mutations
# single mutant with single mutation
muts = {("col1", 2): 5}
# single mutant with multiple mutations
muts = {("col1", 2): 5, ("col2", 1): "asd"}
# multiple mutants
muts = [{("col1", 2): 5},
{("col1", 2): 3}]