# tfdf.py_tree.dataspec.make_simple_column_spec

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/py_tree/dataspec.py#L49-L54) |

Creates a SimpleColumnSpec from a (full) DataSpecification.

    tfdf.py_tree.dataspec.make_simple_column_spec(
        dataspec: data_spec_pb2.DataSpecification, col_idx: int
    ) -> https://www.tensorflow.org/decision_forests/api_docs/python/tfdf/inspector/SimpleColumnSpec