pylabrobot.resources.utils.row_index_to_label#
- pylabrobot.resources.utils.row_index_to_label(index: int) str#
Convert a 0-based row index to a letter label.
Follows the same convention as Excel column headers: 0->A, 1->B, …, 25->Z, 26->AA, 27->AB, …, 31->AF, …
>>> row_index_to_label(0) 'A' >>> row_index_to_label(25) 'Z' >>> row_index_to_label(26) 'AA' >>> row_index_to_label(31) 'AF'