title: How to systematically drop a Pandas row given a particular condition in a column?
body: <p>I have a simple dataframe consisting of 3 columns: Year, Period (Month) and Inflation
  I want to remove even months (e.g., February, April, etc.) and the code I came up with is the following:</p>
  <pre><code>i = df[((df[&quot;Periodo&quot;] == &quot;Febrero&quot;) | (df[&quot;Periodo&quot;] == &quot;Abril&quot;) | (df[&quot;Periodo&quot;] ==&quot;Junio&quot;) | (df[&quot;Periodo&quot;] ==&quot;Agosto&quot;) | (df[&quot;Periodo&quot;] ==&quot;Octubre&quot;) | (df[&quot;Periodo&quot;] ==&quot;Diciembre&quot;))].index
  df.drop(i, inplace = True)
  </code></pre>
  <p>Is there a quicker way rather than typing those tedious OR conditions to make the index? Like a for loop or something.
  Thanks</p>