TypedColumns
Last updated
Last updated
Copyright © 2023 Arize AI, Inc
Arize class used for logging typed feature or tag columns.
When initializing a Schema, TypedColumns can be used in place of a list of column names.
Field | Data Type | Description |
---|---|---|
inferred | Optional[List[str]] | List of columns that will not be altered at all. The values in these columns will have their type inferred as Arize validates and ingests the data. There's no difference between passing in all column names into 'inferred' vs. not using TypedColumns at all. |
to_str | Optional[List[str]] | List of columns that should be cast to pandas nullable StringDType. |
to_float | Optional[List[str]] | List of columns that should be cast to pandas nullable Int64DType. |
to_int | Optional[List[str]] | List of columns that should be cast to pandas nullable Float64DType. |