Back to Numerical Arrays (NumPy)
np.fromBaseRepr
Convert a base-N string to a number.
Syntax
np.fromBaseRepr(str, base?)
Description
Convert a base-N string to a number.
Parameters
| Name | Description |
|---|---|
| str | - String representation |
| base(optional) | - Number base (2-36) |
Returns
number