title: Python public holidays that fall on a weekday
body: <p>I've managed to find two (fairly comprehensive) holiday packages which are:</p>
  
  <ul>
  <li><a href="https://www.geeksforgeeks.org/python-holidays-library/" rel="nofollow noreferrer">Python | Holidays library</a></li>
  <li><a href="https://pypi.org/project/workalendar/" rel="nofollow noreferrer">workalendar (7.1.0)</a></li>
  </ul>
  
  <p><strong>End Goal:</strong></p>
  
  <p>I would like to get a <code>int</code> by using either of these two packages for the public holidays that <em>only</em> fall on a week day. The country is Australia and the state is Western Australia (WA), where both packages can accommodate for states and territories of Australia.</p>
  
  <p><strong>MWE:</strong></p>
  
  <pre><code>import numpy as np
  start_date = "2019-01-01"
  end_date = "2020-01-01"
  
  total_working_days = np.busday_count(start_date, end_date)
  # total_public_holidays_that_fall_on_working_days = 
  #             use the holidays package to get the number of public holidays
  #             that fall on working days (Mon-Fri) between *start_date* and
  #             *end_date*.
  
  actual_working_days = total_working_days - total_public_holidays_that_fall_on_working_days
  </code></pre>
  
  <p><strong>Question:</strong></p>
  
  <p>I want to get an <code>int</code> for the actual number of working days (working days - public holidays that fall on weekdays), how can I do this with either of the above libraries?</p>