Re: generating list of files matching condition

2016-11-25 Thread Peter Otten
Seb wrote: > On Thu, 24 Nov 2016 10:18:21 +0100, > Peter Otten <__pete...@web.de> wrote: > >> Is win_files huge? Then it might help to avoid going over the entire >> list for every interval. Instead you can sort the list and then add to >> the current list while you are below nextw. > >> My pand

Re: generating list of files matching condition

2016-11-24 Thread Seb
On Thu, 24 Nov 2016 10:18:21 +0100, Peter Otten <__pete...@web.de> wrote: > Is win_files huge? Then it might help to avoid going over the entire > list for every interval. Instead you can sort the list and then add to > the current list while you are below nextw. > My pandas doesn't seem to have

Re: generating list of files matching condition

2016-11-24 Thread Peter Otten
Seb wrote: > Hello, > > Given a list of files: > > In [81]: ec_files[0:10] > Out[81]: > > [u'EC_20160604002000.csv', > u'EC_2016060401.csv', > u'EC_20160604012000.csv', > u'EC_20160604014000.csv', > u'EC_2016060402.csv'] > > where the numbers are are a timestamp with format %Y%m%d%

generating list of files matching condition

2016-11-23 Thread Seb
Hello, Given a list of files: In [81]: ec_files[0:10] Out[81]: [u'EC_20160604002000.csv', u'EC_2016060401.csv', u'EC_20160604012000.csv', u'EC_20160604014000.csv', u'EC_2016060402.csv'] where the numbers are are a timestamp with format %Y%m%d%H%M%S, I'd like to generate a list of m