#用cut函数对于年龄进行分段分组,用bins来对年龄进行分段,左开右闭 age_groups=pd.cut(df[‘Age’],bins=[0,18,35,55,70,100])
京公网安备 11010502049817号