CellId
- class CellId(input_nr: str, code_cell_nr: int, total_cell_nr: int)[source]
Container to hold information to identify a cell.
The information are: *
input_nr
Execution count, ” ” for not executed cells
code_cell_nr
Count of the code cell starting at 1, ignoring raw and markdown cells
total_cell_nr
Total count of the cell starting at 1, considering raw and markdown cells.
Create new instance of CellId(input_nr, code_cell_nr, total_cell_nr)
Attributes Summary
code_cell_nr
Alias for field number 1
input_nr
Alias for field number 0
total_cell_nr
Alias for field number 2
Methods Summary
Return number of occurrences of value.
Return first index of value.
Methods Documentation
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.