擅长:python、mysql、java
<p>也许是groupby?</p>
<pre><code>DFList = []
for group in df.groupby(df.index.day):
DFList.append(group[1])
</code></pre>
<p>应该提供一个数据帧列表,其中每个数据帧是一天的数据。</p>
<p>或一行:</p>
<pre><code>DFList = [group[1] for group in df.groupby(df.index.day)]
</code></pre>
<p>一定喜欢Python!</p>