Python start date_range from a specific hour
<p>I am trying to specify a date range in Python that begins on the day before the current day. However, I would like that date range to begin at 10:00:00.</p>

<p>This is the code I am currently using</p>

<pre><code>import pandas as pd
import datetime as dt
date = dt.datetime.today() - dt.timedelta(days=1)
date_range = pd.date_range(date, freq='60min', periods=24)
</code></pre>

<p>However, this begins at 00:00:00. I have tried a few ways of amending the above code to get it to start at 10:00:00, but none work. Can anyone help?</p>

<p>To clarify: I am using Pandas because this date range is to be used as the index for a dataframe.</p>