aws-samples / amazon-sagemaker-feature-store-end-to-end-workshop

MIT No Attribution
124 stars 48 forks source link

Module 3 - Nb 4 - Failed ingestion #67

Open psantus opened 3 weeks ago

psantus commented 3 weeks ago

Before

%%time customers_fg.ingest(data_frame=customers_df, max_processes=16, wait=True) logger.info(f'{len(customers_df)} customer records ingested into feature group: {customers_feature_group_name}')

You should include

customers_df = customers_df.convert_dtypes(infer_objects=True, convert_boolean=False)

Otherwise feature.ingest fails on age categories.

pmhargis-aws commented 3 weeks ago

Yes, I added convert_dtypes() to other notebooks, and will add it here too.