Код: Выделить всё
df = pd.DataFrame(
{
'A': range(6),
'D': pd.date_range('20240101', periods = 6, freq = 'D')
}
)
df['D'].astype('datetime64[ns]')
df.loc[2 , 'D'] = pd.NaT
.interpolate(method = 'time'), пожалуйста?
Извините, я все еще изучаю панд. Заранее спасибо

Подробнее здесь: https://stackoverflow.com/questions/792 ... col-pandas