1.Can't broadcast input array from shape (3,1) into shape (3,) resolution: V[k:m,k] = v; v has shape (3,1), but the target is (3,). k:m is a 3 term slice; k is a scalar. Try using v.ravel(). Or V[k:m,[k]]. 2.result1 = pd.Series(np.squeeze(np.load(…
1. save using pickle with open('F:/BrainAging/result/ordered_data_final_just_TD_leaveOne.pickle', 'wb') as f: pk.dump(ordered_data_final, f) load using pickle with open('F:/BrainAging/result/ordered_data_final_just_TD_leaveOne.pickle',…