0

I have an array:

array(['1980-01-01T00:00:00.000000000', '1980-01-02T00:00:00.000000000',
       '1980-01-03T00:00:00.000000000', ...,
       '1989-12-29T00:00:00.000000000', '1989-12-30T00:00:00.000000000',
       '1989-12-31T00:00:00.000000000'], dtype='datetime64[ns]'

And I want to get another array with day of the year.

I am not sure how to use timetuple().tm_yday with it. Or something else.

maximusdooku
  • 4,790
  • 8
  • 45
  • 81

0 Answers0