discretization

PHOTO EMBED

Wed Jan 27 2021 07:43:36 GMT+0000 (UTC)

Saved by @savemeee #numerical #data #discretization #datamining

# Discretization
df3["Total_Amt_Chng_Q4_Q1_qcut"]=pd.qcut(df3["Total_Amt_Chng_Q4_Q1"],4)
df3["Total_Trans_Amt_qcut"]=pd.qcut(df3["Total_Trans_Amt"],4)
df3["Total_Ct_Chng_Q4_Q1_qcut"]=pd.qcut(df3["Total_Ct_Chng_Q4_Q1"],4)
content_copyCOPY