Re: [Numpy-discussion] Np.genfromtxt Problem

2019-10-04 Thread Stefan van der Walt
On Fri, Oct 4, 2019, at 10:31, Stephen P. Molnar wrote: > data = np.genfromtxt(files, usecols=(3), dtype=None, skip_header=8, > skip_footer=1, encoding=None) This seems like a good use case for `dask.dataframe.read_csv` [0]. Stéfan [0] https://examples.dask.org/dataframes/01-data-access.html#Re

Re: [Numpy-discussion] Np.genfromtxt Problem

2019-10-04 Thread Derek Homeier
On 5 Oct 2019, at 12:15 am, Andras Deak wrote: > > On Fri, Oct 4, 2019 at 7:31 PM Stephen P. Molnar > wrote: >> >> >> I have a snippet of code >> >> #!/usr/bin/env python3 >> # -*- coding: utf-8 -*- >> """ >> >> Created on Tue Sep 24 07:51:11 2019 >> >> """ >> import numpy as np >> >> fil

Re: [Numpy-discussion] Np.genfromtxt Problem

2019-10-04 Thread Andras Deak
On Fri, Oct 4, 2019 at 7:31 PM Stephen P. Molnar wrote: > > > I have a snippet of code > > #!/usr/bin/env python3 > # -*- coding: utf-8 -*- > """ > > Created on Tue Sep 24 07:51:11 2019 > > """ > import numpy as np > > files = [] > > data = np.genfromtxt(files, usecols=(3), dtype=None, skip_header

[Numpy-discussion] Np.genfromtxt Problem

2019-10-04 Thread Stephen P. Molnar
I have a snippet of code #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Sep 24 07:51:11 2019 """ import numpy as np files = [] data = np.genfromtxt(files, usecols=(3), dtype=None, skip_header=8, skip_footer=1, encoding=None) print(data) If file is a single file the c