View source on GitHub |
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
child(
child_step: FeatureName
) -> 'FeaturePath'
from_json
@staticmethod
from_json( path_json: str )
from_proto
@staticmethod
from_proto( path_proto: path_pb2.Path )
from_string
@staticmethod
from_string( path_string: str )
parent
parent() -> 'FeaturePath'
steps
steps() -> FeaturePathTuple
to_json
to_json() -> str
to_proto
to_proto() -> path_pb2.Path
__bool__
__bool__() -> bool
__eq__
__eq__(
other
) -> bool
Return self==value.
__len__
__len__() -> int
__lt__
__lt__(
other
) -> bool
Return self<value.