79668257

Date: 2025-06-16 21:28:16
Score: 1
Natty:
Report link

@jezrael 's solution is correct, but uses a deprecated alias for Seconds:

Deprecated since version 2.2.0: Aliases H, BH, CBH, T, S, L, U, and N are deprecated in favour of the aliases h, bh, cbh, min, s, ms, us, and ns.

df['Date'] = pd.to_datetime(df['Date']).dt.floor('s')
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jezrael
  • Low reputation (1):
Posted by: dano314159