HF RL Explorer

Task: Subtract Two Date Columns and Get Integer Days Difference in Pandas

Task: Subtract Two Date Columns and Get Integer Days Difference in Pandas: a task in Terminal-Lego-15k (Harbor dataset). You have a Pandas DataFrame with two date columns. Your task is to subtract one date column from another and get the result as an integer representing the number of days…

The task

You have a Pandas DataFrame with two date columns. Your task is to subtract one date column from another and get the result as an **integer** representing the number of days difference (not as timedelta or scientific notation).

Part of PrimeIntellect/Terminal-Lego-15k.