Return the 0-based index of given row name.
row (Union[Integer, str]) – Row name.
0-based row index.
class`int` or str
str
Examples
>>> row_to_index('1') 0
previous
colour_datasets.utilities.url_download
next
colour_datasets.utilities.index_to_row