Back to Numerical Arrays (NumPy)
np.octalRepr
Return the octal representation of a number.
Syntax
np.octalRepr(num, width?)
Description
Return the octal representation of a number.
Parameters
| Name | Description |
|---|---|
| num | - Integer to convert |
| width(optional) | - Minimum number of octal digits |
Returns
string