## ColSchema


Column schema: the names and dtypes a step reports for a column set.


Usage

``` python
ColSchema(
    columns=None,
    dtypes=None,
)
```


Carries the column names and their dtype names: enough for a step to describe what it consumed ([schema_in](Step.schema_in.md#mlfeatures.Step.schema_in)) and produced ([schema_out](Step.schema_out.md#mlfeatures.Step.schema_out)). This is the lightweight step-facing report; the recipe-side column-lineage DAG that tracks roles, source, sparsity, and provenance is [Lineage](Lineage.md#mlfeatures.Lineage). Not to be confused with [SchemaInfo](SchemaInfo.md#mlfeatures.SchemaInfo) (what a step is handed at fit time) or [Schema](Schema.md#mlfeatures.Schema) (the snapshot of the training data that [transform()](Step.transform.md#mlfeatures.Step.transform) validates new data against).


## Examples


``` python
schema = ColSchema(columns=["age", "city"], dtypes={"age": "Int64", "city": "String"})
schema.columns, schema.dtypes
```


    (['age', 'city'], {'age': 'Int64', 'city': 'String'})
