title: How can I select 'last business day of the month' in Pandas?
body: <p>I'm trying to subset a DataFrame on the condition that is the last of the month. I used:</p>
  
  <pre><code>df['Month_End'] = df.index.is_month_end
  sample = df[df['Month_End'] == 1]
  </code></pre>
  
  <p>This works, but I'm working with stock market data, so I'm missing all the instances where the actual end of the month is during the weekend, I need a way to select the "last business day of the month".</p>