import pandas as pd
df = pd.read_excel("window regulator01 _0914新增样本.xlsx") df = df.sample(frac = 1) #打乱样本