cii-text-analysis/vendor/rubix/ml/docs/transformers/numeric-string-converter.md
Jéremy Munsch f68d2ac333
premier poc
2026-02-11 08:24:04 +01:00

813 B

[source]

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 the string literal 'NaN'.

Interfaces: Transformer

Data Type Compatibility: Categorical

Parameters

This transformer does not have any parameters.

Example

use Rubix\ML\Transformers\NumericStringConverter;

$transformer = new NumericStringConverter();

Additional Methods

This transformer does not have any additional methods.