Reputation: 580
How can we get the format of datetime column in Pandas dataframe?
# This is how we set! df["Date"] = df["Date"].strftime("%m-%d-%Y")
Now, how do I get it? as
df['Date'].????? >>> "%m-%d-%Y"
Upvotes: 1
Views: 48