Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

apply format to pandas datetime column

formatted_df = df["Date"].dt.strftime("%m/%d/%y")
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #apply #format #pandas #datetime #column
ADD COMMENT
Topic
Name
3+9 =