title: Numpy, TypeError: Could not be cast from dtype('<M8[us]') to dtype('<M8[D]')
body: <p>I'm trying to find out number of business days until a specific date and get the following error: </p>
  
  <pre><code>import numpy as np
  import pandas_market_calendars as mcal
  from datetime import datetime
  import pandas as pd
  
  nyse = mcal.get_calendar('NYSE')
  holidays = nyse.holidays()
  holidays = list(holidays.holidays) # NYSE Holidays
  
  today = datetime.now()
  expiration = datetime(2019,2,13,0,0)
  
  days_to_expiration = np.busday_count(today,expiration,holidays=holidays)
  print(days_to_expiration)
  </code></pre>
  
  <hr>
  
  <pre><code>In [6]: days_to_expiration = np.busday_count(today,expiration,holidays=holidays)
  Traceback (most recent call last):
  
    File "&lt;ipython-input-6-559c16b20339&gt;", line 1, in &lt;module&gt;
      days_to_expiration = np.busday_count(today,expiration,holidays=holidays)
  
  TypeError: Iterator operand 0 dtype could not be cast from dtype('&lt;M8[us]') to dtype('&lt;M8[D]') according to the rule 'safe'
  </code></pre>
  
  <p>Any ideas what is going on here? </p>