Python allows easy creation of an integer from a string of a given base via
int(str, base).
I want to perform the inverse: creati
>>> numpy.base_repr(10, base=3) 101
Note that numpy.base_repr() has a limit of 36 as its base. Otherwise it throws a ValueError
numpy.base_repr()
ValueError