bundles / numpy 2.4.3 / numpy / lib / _iotools / StringConverter / upgrade
function
numpy.lib._iotools:StringConverter.upgrade
source: /numpy/lib/_iotools.py :726
Signature
def upgrade ( self , value ) Summary
Find the best converter for a given string, and return the result.
Extended Summary
The supplied string value is converted by testing different converters in order. First the func method of the StringConverter instance is tried, if this fails other available converters are tried. The order in which these other converters are tried is determined by the _status attribute of the instance.
Parameters
value: strThe string to convert.
Returns
out: anyThe result of converting
valuewith the appropriate converter.
Aliases
-
numpy.lib._iotools.StringConverter.upgrade