欢迎小主! 162导航

# list comprehension of the cols that end with '_y' to_drop = [x for x in df if x.endswith('_x')] df.drop(to_drop, axis=1, inplace=True) def drop_y(df): #

丨话题榜