Remove "days 00:00:00"from Dataframe
So, I have a pandas dataframe with a lot of variables including start/end date of loans. I subtract these two in order to get their difference in days. The result I get is of the
Check this format,
df['date'] = pd.to_timedelta(df['date'], errors='coerce').days
also, check .normalize()
function in pandas.
Post a Comment for "Remove "days 00:00:00"from Dataframe"