def _pandas_to_doy(pd_object):
return pd_object.dayofyear<EOL>
Finds the day of year for a pandas datetime-like object.

Useful for delayed evaluation of the dayofyear attribute.

Parameters
----------
pd_object : DatetimeIndex or Timestamp

Returns
-------
dayofyear