fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
This is a timestamp (at approx. 20 second intervals) and a value. I need to combine 'n' number of lines at a time and average the value of those lines. I have to do this over hundreds of files each with thousands of lines. Any thoughts?'2014-11-18-06:40:31|45.68' '2014-11-18-06:40:52|45.7' '2014-11-18-06:41:12|45.72' '2014-11-18-06:41:32|45.72'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: take 'n' array elements at a time
by GrandFather (Saint) on Nov 18, 2014 at 19:50 UTC | |
|
Re: take 'n' array elements at a time
by karlgoethebier (Abbot) on Nov 18, 2014 at 21:44 UTC | |
|
Re: take 'n' array elements at a time
by pme (Monsignor) on Nov 18, 2014 at 19:26 UTC | |
|
Re: take 'n' array elements at a time
by Anonymous Monk on Nov 18, 2014 at 20:23 UTC | |
by fionbarr (Friar) on Nov 18, 2014 at 21:04 UTC | |
|
Re: take 'n' array elements at a time
by Loops (Curate) on Nov 18, 2014 at 19:03 UTC | |
by fionbarr (Friar) on Nov 18, 2014 at 20:07 UTC | |
by Loops (Curate) on Nov 18, 2014 at 20:31 UTC | |
by fionbarr (Friar) on Nov 18, 2014 at 21:55 UTC | |
|
Re: take 'n' array elements at a time
by poj (Abbot) on Nov 18, 2014 at 19:59 UTC |