Add new column as format yyyy-mm in pandas

 callplan['YM'] = callplan['Visited Date'].dt.strftime('%Y-%m')

Comments

Most searched

WHERE or IF function in Numpy