擅长:python、mysql、java
<p>尝试<a href="http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.loc.html#pandas.DataFrame.loc" rel="nofollow">.loc[]</a>方法:</p>
<pre><code>df.loc[df.year_month_repair >= '200802']
</code></pre>
<p>其中<code>df</code>是您的数据帧</p>