Python | Pandas DatetimeIndex.date - GeeksforGeeks
www.geeksforgeeks.org › python-pandasDec 24, 2018 · Pandas DatetimeIndex.date attribute outputs an Index object containing the date values present in each of the entries of the DatetimeIndex object. Syntax: DatetimeIndex.date. Return: numpy array of python datetime.date. Example #1: Use DatetimeIndex.date attribute to find the date part of the DatetimeIndex object. import pandas as pd.