I would like convert city column into 0\'s and 1\'s Therefore mumbai as 1\'s and other as 0\'s without get_dummies. sample :
EmployeeId City join_month 0