# tfdv.FeaturePath

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L30-L98) |

Represents the path to a feature in an input example.

    tfdv.FeaturePath(
        steps: Iterable[FeatureName]
    )

An input example might contain nested structure. FeaturePath is to identify
a node in such a structure.

## Methods

### `child`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L75-L76)

    child(
        child_step: FeatureName
    ) -> 'FeaturePath'

### `from_json`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L52-L60)

    @staticmethod
    from_json(
        path_json: str
    )

### `from_proto`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L48-L50)

    @staticmethod
    from_proto(
        path_proto: path_pb2.Path
    )

### `from_string`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L62-L65)

    @staticmethod
    from_string(
        path_string: str
    )

### `parent`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L70-L73)

    parent() -> 'FeaturePath'

### `steps`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L67-L68)

    steps() -> FeaturePathTuple

### `to_json`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L45-L46)

    to_json() -> str

### `to_proto`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L42-L43)

    to_proto() -> path_pb2.Path

### `__bool__`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L97-L98)

    __bool__() -> bool

### `__eq__`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L84-L85)

    __eq__(
        other
    ) -> bool

Return self==value.

### `__len__`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L94-L95)

    __len__() -> int

### `__lt__`

[View source](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/path.py#L87-L89)

    __lt__(
        other
    ) -> bool

Return self\<value.