Learn Before
Concept
Date Time
Pandas is built to work very well with the date time library, which can be imported via import datetime . The date time library provides tools to convert strings into date time objects which can then be used to compare dates and sort objects based on time. This is an important conversion to make in order to perform analysis like time series.
Not only can pandas convert between strings to date-time objects, it can also provide date time conversions for exisiting date time objects based on time zones. i.e if we are given a dataset set in time zone UTC +5, we can convert it to UTC +8 within as needed.
0
1
Updated 2021-06-06
Tags
Python Programming Language
Data Science