-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle different date formats in clustering (#562)
- Loading branch information
1 parent
36466f9
commit 4e77873
Showing
6 changed files
with
212 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/common/test_model/data_sources/cluster_days_diff_dateformat.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
,clusters | ||
01/01/2005,01/01/2005 | ||
02/01/2005,03/01/2005 | ||
03/01/2005,03/01/2005 | ||
04/01/2005,01/01/2005 | ||
05/01/2005,01/01/2005 |
240 changes: 120 additions & 120 deletions
240
tests/common/test_model/data_sources/demand_heat_diff_dateformat.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +1,121 @@ | ||
,a,b | ||
01/01/2005 00:00:00,0,0 | ||
01/01/2005 01:00:00,0,0 | ||
01/01/2005 02:00:00,0,0 | ||
01/01/2005 03:00:00,0,0 | ||
01/01/2005 04:00:00,0,0 | ||
01/01/2005 05:00:00,0,0 | ||
01/01/2005 06:00:00,10,10 | ||
01/01/2005 07:00:00,10,10 | ||
01/01/2005 08:00:00,10,10 | ||
01/01/2005 09:00:00,5,5 | ||
01/01/2005 10:00:00,5,5 | ||
01/01/2005 11:00:00,5,5 | ||
01/01/2005 12:00:00,5,5 | ||
01/01/2005 13:00:00,5,5 | ||
01/01/2005 14:00:00,5,5 | ||
01/01/2005 15:00:00,10,10 | ||
01/01/2005 16:00:00,10,10 | ||
01/01/2005 17:00:00,10,10 | ||
01/01/2005 18:00:00,10,10 | ||
01/01/2005 19:00:00,10,10 | ||
01/01/2005 20:00:00,10,10 | ||
01/01/2005 21:00:00,0,0 | ||
01/01/2005 22:00:00,0,0 | ||
01/01/2005 23:00:00,0,0 | ||
02/01/2005 00:00:00,0,0 | ||
02/01/2005 01:00:00,0,0 | ||
02/01/2005 02:00:00,0,0 | ||
02/01/2005 03:00:00,0,0 | ||
02/01/2005 04:00:00,0,0 | ||
02/01/2005 05:00:00,0,0 | ||
02/01/2005 06:00:00,10,10 | ||
02/01/2005 07:00:00,10,10 | ||
02/01/2005 08:00:00,10,10 | ||
02/01/2005 09:00:00,5,5 | ||
02/01/2005 10:00:00,5,5 | ||
02/01/2005 11:00:00,5,5 | ||
02/01/2005 12:00:00,5,5 | ||
02/01/2005 13:00:00,5,5 | ||
02/01/2005 14:00:00,5,5 | ||
02/01/2005 15:00:00,10,10 | ||
02/01/2005 16:00:00,10,10 | ||
02/01/2005 17:00:00,10,10 | ||
02/01/2005 18:00:00,10,10 | ||
02/01/2005 19:00:00,10,10 | ||
02/01/2005 20:00:00,10,10 | ||
02/01/2005 21:00:00,0,0 | ||
02/01/2005 22:00:00,0,0 | ||
02/01/2005 23:00:00,0,0 | ||
03/01/2005 00:00:00,0,0 | ||
03/01/2005 01:00:00,0,0 | ||
03/01/2005 02:00:00,0,0 | ||
03/01/2005 03:00:00,0,0 | ||
03/01/2005 04:00:00,0,0 | ||
03/01/2005 05:00:00,0,0 | ||
03/01/2005 06:00:00,10,10 | ||
03/01/2005 07:00:00,10,10 | ||
03/01/2005 08:00:00,10,10 | ||
03/01/2005 09:00:00,5,5 | ||
03/01/2005 10:00:00,5,5 | ||
03/01/2005 11:00:00,5,5 | ||
03/01/2005 12:00:00,5,5 | ||
03/01/2005 13:00:00,5,5 | ||
03/01/2005 14:00:00,5,5 | ||
03/01/2005 15:00:00,10,10 | ||
03/01/2005 16:00:00,10,10 | ||
03/01/2005 17:00:00,10,10 | ||
03/01/2005 18:00:00,10,10 | ||
03/01/2005 19:00:00,10,10 | ||
03/01/2005 20:00:00,10,10 | ||
03/01/2005 21:00:00,0,0 | ||
03/01/2005 22:00:00,0,0 | ||
03/01/2005 23:00:00,0,0 | ||
04/01/2005 00:00:00,0,0 | ||
04/01/2005 01:00:00,0,0 | ||
04/01/2005 02:00:00,0,0 | ||
04/01/2005 03:00:00,0,0 | ||
04/01/2005 04:00:00,0,0 | ||
04/01/2005 05:00:00,0,0 | ||
04/01/2005 06:00:00,10,10 | ||
04/01/2005 07:00:00,10,10 | ||
04/01/2005 08:00:00,10,10 | ||
04/01/2005 09:00:00,5,5 | ||
04/01/2005 10:00:00,5,5 | ||
04/01/2005 11:00:00,5,5 | ||
04/01/2005 12:00:00,5,5 | ||
04/01/2005 13:00:00,5,5 | ||
04/01/2005 14:00:00,5,5 | ||
04/01/2005 15:00:00,10,10 | ||
04/01/2005 16:00:00,10,10 | ||
04/01/2005 17:00:00,10,10 | ||
04/01/2005 18:00:00,10,10 | ||
04/01/2005 19:00:00,10,10 | ||
04/01/2005 20:00:00,10,10 | ||
04/01/2005 21:00:00,0,0 | ||
04/01/2005 22:00:00,0,0 | ||
04/01/2005 23:00:00,0,0 | ||
05/01/2005 00:00:00,0,0 | ||
05/01/2005 01:00:00,0,0 | ||
05/01/2005 02:00:00,0,0 | ||
05/01/2005 03:00:00,0,0 | ||
05/01/2005 04:00:00,0,0 | ||
05/01/2005 05:00:00,0,0 | ||
05/01/2005 06:00:00,10,10 | ||
05/01/2005 07:00:00,10,10 | ||
05/01/2005 08:00:00,10,10 | ||
05/01/2005 09:00:00,5,5 | ||
05/01/2005 10:00:00,5,5 | ||
05/01/2005 11:00:00,5,5 | ||
05/01/2005 12:00:00,5,5 | ||
05/01/2005 13:00:00,5,5 | ||
05/01/2005 14:00:00,5,5 | ||
05/01/2005 15:00:00,10,10 | ||
05/01/2005 16:00:00,10,10 | ||
05/01/2005 17:00:00,10,10 | ||
05/01/2005 18:00:00,10,10 | ||
05/01/2005 19:00:00,10,10 | ||
05/01/2005 20:00:00,10,10 | ||
05/01/2005 21:00:00,0,0 | ||
05/01/2005 22:00:00,0,0 | ||
05/01/2005 23:00:00,0,0 | ||
01/01/2005 00:00,0,0 | ||
01/01/2005 01:00,0,0 | ||
01/01/2005 02:00,0,0 | ||
01/01/2005 03:00,0,0 | ||
01/01/2005 04:00,0,0 | ||
01/01/2005 05:00,0,0 | ||
01/01/2005 06:00,10,10 | ||
01/01/2005 07:00,10,10 | ||
01/01/2005 08:00,10,10 | ||
01/01/2005 09:00,5,5 | ||
01/01/2005 10:00,5,5 | ||
01/01/2005 11:00,5,5 | ||
01/01/2005 12:00,5,5 | ||
01/01/2005 13:00,5,5 | ||
01/01/2005 14:00,5,5 | ||
01/01/2005 15:00,10,10 | ||
01/01/2005 16:00,10,10 | ||
01/01/2005 17:00,10,10 | ||
01/01/2005 18:00,10,10 | ||
01/01/2005 19:00,10,10 | ||
01/01/2005 20:00,10,10 | ||
01/01/2005 21:00,0,0 | ||
01/01/2005 22:00,0,0 | ||
01/01/2005 23:00,0,0 | ||
02/01/2005 00:00,0,0 | ||
02/01/2005 01:00,0,0 | ||
02/01/2005 02:00,0,0 | ||
02/01/2005 03:00,0,0 | ||
02/01/2005 04:00,0,0 | ||
02/01/2005 05:00,0,0 | ||
02/01/2005 06:00,10,10 | ||
02/01/2005 07:00,10,10 | ||
02/01/2005 08:00,10,10 | ||
02/01/2005 09:00,5,5 | ||
02/01/2005 10:00,5,5 | ||
02/01/2005 11:00,5,5 | ||
02/01/2005 12:00,5,5 | ||
02/01/2005 13:00,5,5 | ||
02/01/2005 14:00,5,5 | ||
02/01/2005 15:00,10,10 | ||
02/01/2005 16:00,10,10 | ||
02/01/2005 17:00,10,10 | ||
02/01/2005 18:00,10,10 | ||
02/01/2005 19:00,10,10 | ||
02/01/2005 20:00,10,10 | ||
02/01/2005 21:00,0,0 | ||
02/01/2005 22:00,0,0 | ||
02/01/2005 23:00,0,0 | ||
03/01/2005 00:00,0,0 | ||
03/01/2005 01:00,0,0 | ||
03/01/2005 02:00,0,0 | ||
03/01/2005 03:00,0,0 | ||
03/01/2005 04:00,0,0 | ||
03/01/2005 05:00,0,0 | ||
03/01/2005 06:00,10,10 | ||
03/01/2005 07:00,10,10 | ||
03/01/2005 08:00,10,10 | ||
03/01/2005 09:00,5,5 | ||
03/01/2005 10:00,5,5 | ||
03/01/2005 11:00,5,5 | ||
03/01/2005 12:00,5,5 | ||
03/01/2005 13:00,5,5 | ||
03/01/2005 14:00,5,5 | ||
03/01/2005 15:00,10,10 | ||
03/01/2005 16:00,10,10 | ||
03/01/2005 17:00,10,10 | ||
03/01/2005 18:00,10,10 | ||
03/01/2005 19:00,10,10 | ||
03/01/2005 20:00,10,10 | ||
03/01/2005 21:00,0,0 | ||
03/01/2005 22:00,0,0 | ||
03/01/2005 23:00,0,0 | ||
04/01/2005 00:00,0,0 | ||
04/01/2005 01:00,0,0 | ||
04/01/2005 02:00,0,0 | ||
04/01/2005 03:00,0,0 | ||
04/01/2005 04:00,0,0 | ||
04/01/2005 05:00,0,0 | ||
04/01/2005 06:00,10,10 | ||
04/01/2005 07:00,10,10 | ||
04/01/2005 08:00,10,10 | ||
04/01/2005 09:00,5,5 | ||
04/01/2005 10:00,5,5 | ||
04/01/2005 11:00,5,5 | ||
04/01/2005 12:00,5,5 | ||
04/01/2005 13:00,5,5 | ||
04/01/2005 14:00,5,5 | ||
04/01/2005 15:00,10,10 | ||
04/01/2005 16:00,10,10 | ||
04/01/2005 17:00,10,10 | ||
04/01/2005 18:00,10,10 | ||
04/01/2005 19:00,10,10 | ||
04/01/2005 20:00,10,10 | ||
04/01/2005 21:00,0,0 | ||
04/01/2005 22:00,0,0 | ||
04/01/2005 23:00,0,0 | ||
05/01/2005 00:00,0,0 | ||
05/01/2005 01:00,0,0 | ||
05/01/2005 02:00,0,0 | ||
05/01/2005 03:00,0,0 | ||
05/01/2005 04:00,0,0 | ||
05/01/2005 05:00,0,0 | ||
05/01/2005 06:00,10,10 | ||
05/01/2005 07:00,10,10 | ||
05/01/2005 08:00,10,10 | ||
05/01/2005 09:00,5,5 | ||
05/01/2005 10:00,5,5 | ||
05/01/2005 11:00,5,5 | ||
05/01/2005 12:00,5,5 | ||
05/01/2005 13:00,5,5 | ||
05/01/2005 14:00,5,5 | ||
05/01/2005 15:00,10,10 | ||
05/01/2005 16:00,10,10 | ||
05/01/2005 17:00,10,10 | ||
05/01/2005 18:00,10,10 | ||
05/01/2005 19:00,10,10 | ||
05/01/2005 20:00,10,10 | ||
05/01/2005 21:00,0,0 | ||
05/01/2005 22:00,0,0 | ||
05/01/2005 23:00,0,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.