Y=stats_salary0.iloc[:10] 意思是将变量 stats_salary0 中前十行的数据赋值给变量 Y。.iloc 是用于选择 DataFrame 中行的函数,[:10] 表示选择前十行。