idx = 0
new_col = [7, 8, 9] # can be a list, a Series, an array or a scalar
df.insert(loc=idx, column='Col_name', value=new_col)
df_new.insert(0, 'Group', group)df_new
year_grad.insert(1,'Master_GradYear', Master_gradYear)
idx = 0
new_col = [7, 8, 9] # can be a list, a Series, an array or a scalar
df.insert(loc=idx, column='Col_name', value=new_col)
df_new.insert(0, 'Group', group)df_new
year_grad.insert(1,'Master_GradYear', Master_gradYear)