MCPcopy Index your code
hub / github.com/feast-dev/feast / profile

Method profile

sdk/python/feast/saved_dataset.py:294–304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

292
293 @property
294 def profile(self) -> Profile:
295 if not self._profile:
296 if not self._dataset:
297 raise RuntimeError(
298 "In order to calculate a profile validation reference must be instantiated from a saved dataset. "
299 "Use ValidationReference.from_saved_dataset constructor or FeatureStore.get_validation_reference "
300 "to get validation reference object."
301 )
302
303 self._profile = self.profiler.analyze_dataset(self._dataset.to_df())
304 return self._profile
305
306 @classmethod
307 def from_proto(cls, proto: ValidationReferenceProto) -> "ValidationReference":

Callers

nothing calls this directly

Calls 2

analyze_datasetMethod · 0.45
to_dfMethod · 0.45

Tested by

no test coverage detected