Python Forum

Full Version: selecting only october to march from monthly data u
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have array of monthy data. I want to select monthly values starting from october to march like this
my data = starts from [1950-01,1950-02,1950-03, ...]

this is what I want
selection = [1950-10, 1950-11, 1950-12, 1960-1,1960-2, 1960-3, ...] # notice it continues to 1960

thanks
what have you tried?