I have an integer representing the day of the year from 1-365 in my array out
at index 0. How do i convert this to get the month and day of month from this using Python and Pandas?
I have tried:
out[0] = pd.to_datetime(out[0]).dt.strftime('%m-%d')
but I get an error saying AttributeError: 'Timestamp' object has no attribute 'dt'