Numeric String Converter#
Convert all numeric strings to their equivalent integer and floating point types. Useful for when extracting from a source that only recognizes data as string types such as CSV.
Note: The string representation of the PHP constant NAN (not a number) is defined as
Data Type Compatibility: Categorical
This transformer does not have any parameters.
use Rubix\ML\Transformers\NumericStringConverter; $transformer = new NumericStringConverter();
This transformer does not have any additional methods.