Just a little bit of code refactor

Could that be refactored to - loc = np.full(12, np.nan) ?

Sure, this will work!