How do I work with dates and times in pandas?

Опубликовано: 05 Октябрь 2024
на канале: Data School
186,227
4k

Let's say that you have dates and times in your DataFrame and you want to analyze your data by minute, month, or year. What should you do? In this video, I'll demonstrate how you can convert your data to "datetime" format, enabling you to access a ton of convenient attributes and perform datetime comparisons and mathematical operations.

SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?su...

JOIN the "Data School Insiders" community and receive exclusive rewards:
  / dataschool  

== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas...
"to_datetime" documentation: http://pandas.pydata.org/pandas-docs/...
Datetime properties and methods: http://pandas.pydata.org/pandas-docs/...

== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter:   / justmarkham  
Facebook:   / datascienceschool  
LinkedIn:   / justmarkham