Helpers
alphabet_to_index(cell_ref)
¶
Method to convert A1 notation to an integer.
This method will return zero-centered indexes,
despite index_to_alphabet taking one-centered index inputs.
:type cell_ref: str :param cell_ref: A1 notation of cell to convert.
:rtype: int :returns: Index notation of the cell.
Source code in pygsuite/sheets/helpers.py
index_to_alphabet(input_index)
¶
Method to convert integer to A1 notation.
:type input_index: int :param idx: Cell index to convert.
:rtype: str :returns: A1 notation of the cell.