Nov-11-2019, 06:48 AM
(Nov-08-2019, 06:39 PM)Larz60+ Wrote: It looks like each field of the row should be stripped of white space, and it also looks like further parsing is required on certain records, for example 6th (index 5) element of row 10
the element that requires further parsing seems to appear when number of elements in row exceeds 5 (index > 4)
Output:['0631963909', ' 10.01.1990 10:31:49', 'CHRG', '0x0400', 'Netzfrequenz zu klein', '631963907: ENS::St: 30 SF: 0000 BF: 000a BAS: 0000 BAI: 0000 WR::St: 1 SF: 0000 BF: 0005 BAS: 0000 BAI: 0000 EMS::St: 18 BF1: 00041213 BF2: 00100140 Ph: 0 LN: 0 Fan: 342']
Exactly ! I've noticed that and try to drop those by checking the content of the first column if not in datetime format!