f/overrides/event-backup/nsbrx-dividend.csv
Greg Pomerantz 3c5bee96ce Clean multi-vintage 'ctime' files: 1,065 files, 2.2M stale rows
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).
2026-08-31 22:25:02 -04:00

62 lines
1.0 KiB
Plaintext

Date,Dividends
2006-12-15,0.007
2006-12-28,0.415
2007-03-30,0.11
2007-06-29,0.087
2007-09-28,0.113
2007-12-14,0.131
2007-12-28,0.161
2008-03-31,0.088
2008-06-30,0.136
2008-09-30,0.101
2008-12-30,0.076
2009-03-31,0.149
2009-06-30,0.055
2009-09-30,0.099
2009-12-30,0.105
2010-03-31,0.104
2010-04-30,0.02
2010-06-30,0.104
2010-09-30,0.117
2010-12-30,0.12
2011-03-31,0.11
2011-06-30,0.109
2011-09-30,0.126
2011-12-29,0.146
2012-03-30,0.133
2012-06-29,0.145
2012-09-28,0.131
2012-12-28,0.232
2013-03-28,0.129
2013-06-28,0.141
2013-09-30,0.145
2013-12-13,0.192
2013-12-30,0.153
2014-03-31,0.152
2014-06-30,0.156
2014-09-30,0.148
2014-12-15,1.065
2014-12-30,0.141
2015-03-31,0.149
2015-06-30,0.152
2015-09-30,0.153
2015-12-15,1.42
2015-12-30,0.162
2016-03-31,0.159
2016-06-30,0.14
2016-09-30,0.161
2016-12-29,0.168
2017-03-31,0.168
2017-06-30,0.156
2017-09-29,0.175
2017-12-15,1.229
2017-12-28,0.149
2018-03-29,0.155
2018-06-29,0.187
2018-08-22,1.75
2018-09-28,0.18
2018-12-17,0.296
2018-12-28,0.135
2019-03-29,0.18
2019-06-28,0.174