title: Filtering out rows based on an IQR score in Pandas DataFrame
body: <pre><code>df_boyd_out = df_boyd[~((df_boyd['MTTR'] &lt; (Q1 - 1.5 * IQR)) | (df_boyd['MTTR'] &gt; (Q3 + 1.5 * IQR))).any(axis=1)]
  </code></pre>
  <p>The above is my code, which returns: <code>ValueError: No axis named 1 for object type Series</code></p>
  <p>I've tried:</p>
  <pre><code>df_boyd_out = df_boyd[~((df_boyd.MTTR &lt; (Q1 - 1.5 * IQR)) | (df_boyd.MTTR &gt; (Q3 + 1.5 * IQR))).any(axis=1)]
  </code></pre>