pd.series to datetime code example
Example 1: series.Series to dataframe
df = pd.DataFrame([s])
print (df)
product_id_y count
6159402 1159730 1
Example 2: convert series to datetime
pd.to_datetime(df['your_time_column'])
Example 3: pandas convert series of datetime to date
df['date_only'] = df['date_time_column'].dt.date