indeks ke datetime panda
df.index = pd.to_datetime(df.index)
Successful Salamander
df.index = pd.to_datetime(df.index)
df['date_column'] = pd.to_datetime(df['datetime_column']).dt.date
import pandas as pd
df = pd.Dataframe(data)
df.index = pd.DatetimeIndex(data=df.index, tz='US/Eastern') # naive--> aware
df.index = pd.DatetimeIndex(df.index.tz_convert('US/Pacific')) # aware--> aware
df
pd.Timestamp('2014-01-23 00:00:00', tz=None).to_pydatetime()