Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Convert the below Series to pandas datetime : DoB = pd.Series(["07Sep59","01Jan55","15Dec47","11Jul42"])

DoB = pd.Series(["07Sep59","01Jan55","15Dec47","11Jul42"])
DoB = DoB.str[:-2]+'19'+DoB.str[-2:]
pd.to_datetime(DoB,format = '%d%b%Y')
Comment

PREVIOUS NEXT
Code Example
Python :: 1: for python position 
Python :: emacs pipenv not working 
Python :: forgot password miguel grinberg 
Python :: scikit learn split data set site:stackoverflow.com 
Python :: queryset o que é 
Python :: sphinx select code ' 
Python :: how to open a widget using sputil.get 
Python :: gnome-terminal stopped executing after python 3.6 is installed 
Python :: pip upgrade command 
Shell :: chrome remote debug 
Shell :: restart audio ubuntu 
Shell :: npm cache clean 
Shell :: refusing to merge unrelated histories 
Shell :: update google chrome command ubuntu 
Shell :: ubuntu install gimp 
Shell :: react router v5 install 
Shell :: how to remove unnecessary packages in linux 
Shell :: sudo apt uninstall docker compose 
Shell :: How to restart Ubuntu via SSH? 
Shell :: dns flush 
Shell :: stop all container in docker 
Shell :: linux ext-zip * 
Shell :: download filezilla in ubuntu 
Shell :: upgrade plotly version 
Shell :: zsh: command not found: gatsby 
Shell :: Amazon Linux 2 AMI install docker 
Shell :: linux check if a port is open 
Shell :: laravel rollback last migration 
Shell :: linux remove mysql server 
Shell :: bash find process using port 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =