Some dump files carry a trailing 'ctime' column: an older pipeline appended a FULL re-download of the symbol per download (up to ~28 vintages per date, 2019-2022). The consumer keeps the last row per date, so it silently used stale (~2021) vintages where Yahoo later revised values. scripts/clean_multivintage.py keeps, per date, the rows from the newest ctime (event files keep distinct same-day amounts; history/split keep the single newest row), drops the ctime column, sorts by date. Applied to the data root and overrides/frozen (which carried the same artifact): 1,065 files, 2,202,712 stale rows dropped. Also: stripped 3 UTF-8 BOMs (teg/lo/krft), refreshed the event backup with the cleaned files, and re-ran the double-listing scan: category C (83 symbols, 18,636 repeated within-file rows) is fully explained by the multi-vintage artifact and is now gone; A (6,589 pairs, corrected) and B (12,366 pairs, open review list) are unchanged. Whole-set structural QC after cleaning: 0 duplicate dates, 3 syms/15 rows of OHLC invariant violations, 15 syms/2,897 rows of non-positive prices (mostly long-delisted tickers), 8 unsorted files (reader sorts).
1.1 KiB
1.1 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2012-11-30 | 0.012 |
| 3 | 2012-12-31 | 0.021 |
| 4 | 2013-01-31 | 0.026 |
| 5 | 2013-02-28 | 0.034 |
| 6 | 2013-03-28 | 0.034 |
| 7 | 2013-04-30 | 0.033 |
| 8 | 2013-05-31 | 0.034 |
| 9 | 2013-06-28 | 0.033 |
| 10 | 2013-07-31 | 0.034 |
| 11 | 2013-08-30 | 0.034 |
| 12 | 2013-09-30 | 0.033 |
| 13 | 2013-10-31 | 0.034 |
| 14 | 2013-11-29 | 0.033 |
| 15 | 2013-12-11 | 0.016 |
| 16 | 2013-12-31 | 0.034 |
| 17 | 2014-01-31 | 0.034 |
| 18 | 2014-02-28 | 0.031 |
| 19 | 2014-03-31 | 0.034 |
| 20 | 2014-04-30 | 0.033 |
| 21 | 2014-05-30 | 0.034 |
| 22 | 2014-06-30 | 0.033 |
| 23 | 2014-07-31 | 0.034 |
| 24 | 2014-08-29 | 0.034 |
| 25 | 2014-09-30 | 0.028 |
| 26 | 2014-10-31 | 0.02 |
| 27 | 2014-11-28 | 0.014 |
| 28 | 2014-12-29 | 0.045 |
| 29 | 2014-12-31 | 0.012 |
| 30 | 2015-01-30 | 0.016 |
| 31 | 2015-02-27 | 0.024 |
| 32 | 2015-03-31 | 0.026 |
| 33 | 2015-04-30 | 0.026 |
| 34 | 2015-05-29 | 0.027 |
| 35 | 2015-06-30 | 0.026 |
| 36 | 2015-07-31 | 0.029 |
| 37 | 2015-08-31 | 0.025 |
| 38 | 2015-09-30 | 0.026 |
| 39 | 2015-10-30 | 0.028 |
| 40 | 2015-11-30 | 0.025 |
| 41 | 2015-12-29 | 0.094 |
| 42 | 2015-12-31 | 0.029 |
| 43 | 2016-01-29 | 0.024 |
| 44 | 2016-02-29 | 0.025 |
| 45 | 2016-03-31 | 0.026 |
| 46 | 2016-04-29 | 0.026 |
| 47 | 2016-05-31 | 0.026 |
| 48 | 2016-06-30 | 0.026 |
| 49 | 2016-07-29 | 0.027 |
| 50 | 2016-08-31 | 0.027 |
| 51 | 2016-10-31 | 0.025 |
| 52 | 2016-11-30 | 0.026 |
| 53 | 2016-12-28 | 0.212 |
| 54 | 2016-12-30 | 0.029 |
| 55 | 2017-01-31 | 0.025 |
| 56 | 2017-02-28 | 0.024 |
| 57 | 2017-03-31 | 0.028 |
| 58 | 2017-04-28 | 0.024 |
| 59 | 2017-05-31 | 0.026 |
| 60 | 2017-06-30 | 0.027 |
| 61 | 2017-07-31 | 0.025 |
| 62 | 2017-08-31 | 0.026 |
| 63 | 2017-09-29 | 0.026 |
| 64 | 2017-10-31 | 0.026 |
| 65 | 2017-11-30 | 0.026 |
| 66 | 2017-12-27 | 0.046 |
| 67 | 2017-12-29 | 0.028 |
| 68 | 2018-01-31 | 0.026 |
| 69 | 2018-02-28 | 0.024 |