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"
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"
Copyright © 2021 Jogjafile Inc.