Answers for "replace nat with date pandas"

0

replace nat with date pandas

In [138]: end = pd.to_datetime('2017-12-15')

In [139]: df['Date'] = df['Date'].fillna(end)
Posted by: Guest on June-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language