Skip to content

Commit 641a947

Browse files
authored
documentation: Include FeatureGroup's load_feature_definitions API documentation (#4165)
* documentation: Include FeatureGroup's load_feature_definitions documentation * Escape underscore in type names
1 parent 962c394 commit 641a947

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/api/prep_data/feature_store.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Feature Group
66

77
.. autoclass:: sagemaker.feature_store.feature_group.FeatureGroup
88
:members:
9-
:exclude-members: load_feature_definitions
109
:show-inheritance:
1110

1211
.. autoclass:: sagemaker.feature_store.feature_group.AthenaQuery

src/sagemaker/feature_store/feature_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,8 @@ def load_feature_definitions(
759759
"""Load feature definitions from a Pandas DataFrame.
760760
761761
Column name is used as feature name. Feature type is inferred from the dtype
762-
of the column. Dtype int_, int8, int16, int32, int64, uint8, uint16, uint32
763-
and uint64 are mapped to Integral feature type. Dtype float_, float16, float32
762+
of the column. Dtype :literal:`int_`, int8, int16, int32, int64, uint8, uint16, uint32
763+
and uint64 are mapped to Integral feature type. Dtype :literal:`float_`, float16, float32
764764
and float64 are mapped to Fractional feature type. string dtype is mapped to
765765
String feature type.
766766

0 commit comments

Comments
 (0)