I am working on a dataset where I am rounding the posixct date to the nearest hour of one column of data.table with 88 mln rows.
I used round. Date by base and round_date by lubridate, both of them exceeded memory, so could not finish. Finally, I divided the dataset into 4 equal parts, rounded the necessary column, and bound back.
Is there a good method to round date with higher memory efficiency
Thanks in advance