Skip to content

Commit 79795af

Browse files
fix: adding .lower() so new Pandas dtypes will match the type lookup. (#3740)
Co-authored-by: Mufaddal Rohawala <[email protected]>
1 parent aefdcb7 commit 79795af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/feature_store/feature_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def load_feature_definitions(
741741
feature_definitions = []
742742
for column in data_frame:
743743
feature_type = self.DTYPE_TO_FEATURE_DEFINITION_CLS_MAP.get(
744-
str(data_frame[column].dtype), None
744+
str(data_frame[column].dtype).lower(), None
745745
)
746746
if feature_type:
747747
feature_definitions.append(

0 commit comments

Comments
 (0)