how to convert data frame to time series in python code example Example: pandas convert series of datetime to date df['date_only'] = df['date_time_column'].dt.date