def _times_to_hours_after_local_midnight(times):
times = times.tz_localize(None)<EOL>hrs = <NUM_LIT:1> / NS_PER_HR * (<EOL>times.astype(np.int64) - times.normalize().astype(np.int64))<EOL>return np.array(hrs)<EOL>
convert local pandas datetime indices to array of hours as floats