When reading a CSV and working with columns as date/time values, you would need to convert the string objects to datetime. Here's how to do it in Pandas.
-----
Visit our website for more tutorials: https://pythonmldaily.com
Follow us on Twitter: / pythonmldaily