Binning dates into ranges
ahoffer
New Altair Community Member
I want to discretize my date_time attributes by binning them. Each bin represents a one-week range of dates.
How do I accomplish that?
Is there an accepted strategy to discretize dates?
How do I accomplish that?
Is there an accepted strategy to discretize dates?
Tagged:
0
Answers
-
Hello ahoffer
The Date To Numerical operator is one possibility.
Choose "time_unit" as week and "week relative to" as epoch
regards
Andrew0