Skip to content

Commit ab4be8d

Browse files
committed
fix: adding .lower() so that the new Pandas dtypes, which start with Caps (e.g. Int64), will match the type lookup
1 parent 6c5c040 commit ab4be8d

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
@@ -689,7 +689,7 @@ def load_feature_definitions(
689689
feature_definitions = []
690690
for column in data_frame:
691691
feature_type = self.DTYPE_TO_FEATURE_DEFINITION_CLS_MAP.get(
692-
str(data_frame[column].dtype), None
692+
str(data_frame[column].dtype).lower(), None
693693
)
694694
if feature_type:
695695
feature_definitions.append(

0 commit comments

Comments
 (0)