import pandas as pd df=pd.read_csv("./sales.csv") R_Quartile=pd.qcut(df["recency"],4,labels=['4','3','2','1']).astype("str") F_Quartile=pd.qcut(df["frequency"],4,labels=['1','2','3','4']).astype("str") M_Quartile=pd.qcut(df["monetary"],4,labels=['1','2','3','4']).astype("str") # 输出评分后的数据的前5行 df["...