csv_to_field class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.serialization
Summary
transform csv file to a field or fields container
available inputs: time_scoping (Scoping) (optional), data_sources (DataSources)
available outputs: fields_container (FieldsContainer)
Example
op = csv_to_field()
op = csv_to_field(time_scoping=my_time_scoping,data_sources=my_data_sources)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.serialization |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
time_scoping
Type: LinkableInput
data_sources
data sources containing a file with csv extension
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
csv_to_field()
Constructor
csv_to_field(time_scoping, data_sources, config)
Parameters:
time_scoping(object)data_sources(object)config(OperatorConfig)
Constructor
csv_to_field(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig