Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Pandas: Convert Timestamp to datetime.date

Asked by Kalyani Malhotra Jun 10, 2021 1.3K views 1 answer
Share

About this question

I have a pandas column of Timestamp data

In [27]: train["Original_Quote_Date"][6] 
Out[27]: Timestamp('2013-12-25 00:00:00')

How can check the equivalence of these objects to DateTime.date objects of the type

datetime.date(2013, 12, 25)

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.