I want concatenate column: ['Time Period'] value and other string ('01-01') to new column: 'Date', with condition dt['Frequency']=='0'. Please help on this, I am new to python and learning scripting by some data processing.
dt.loc[dt['Frequency']=='0','Date']=dt['Time Period']+'01-01'
dt:
Frequency,Time Period,Date
0,2008
0,1961
2,2015Q1
3,2016M1