我想从def函数返回几个数据帧,这些数据帧使用基于变量的唯一名称。我的代码如下: def plots_without_outliers(parameter): The function removes outliers from dataframeplots_without_outliers('total_minutes_spent_per_month&
我定义了一个函数来清理数据帧并返回一个新的数据帧。我有许多想要运行这个函数的数据帧。我有我的DFs,namelist=[a,b,c]的列表,并通过我的函数在循环中传递它们。我想返回一个类似的列表,cleanDFs=[aClean, bClean, cClean]。len(Names)):
c = dat