擅长:python、mysql、java
<p>为什么不这样做呢?你知道吗</p>
<pre><code># List of all dataframes
df_list = [df1,df2,....,df30]
# List of Columns names for all dataframes
colum_names =[['M1Pmax'],['M2Pmax'],...., ['M30Pmax']]
for i in range(len(df_list)):
df_list[i].columns = [colum_names[i]]
</code></pre>
<p>希望这对你有帮助!。你知道吗</p>