Just copy the code and send it to your analyst to repeat!
Upgini will quickly generate a quality report.Ask your analyst to send it to you to check the result.
%pip install -Uq upgini
# read labeled data
df = pd.read_csv("train_dataset.csv")
from upgini import FeaturesEnricher, SearchKey
# map data
enricher = FeaturesEnricher(
search_keys={'Date': SearchKey.DATE,
'phone_number': SearchKey.IP},
generate_features=['text1', 'text2']
)
# launch fit step
enricher.fit(df[['Date','phone_number', 'text1', 'text2']],
df['npl_90_12'])
# launch enrichment step
df_enriched = enricher.transform(df)
No credit card required. No time limit on Free plan