Re: [Numpy-discussion] bad CRC errors when using np.savez, only sometimes though!

2021-05-14 Thread Isaac Gerg
lib in order to work properly. > > On Fri, May 14, 2021 at 10:22 AM Isaac Gerg > wrote: > >> Hi Ben, I am not sure. However, in looking at the dates, it looks like >> that was fixed in scipy as of 2019. >> >> Would you recommend using the scipy save interface a

Re: [Numpy-discussion] bad CRC errors when using np.savez, only sometimes though!

2021-05-14 Thread Isaac Gerg
https://github.com/scipy/scipy/issues/6999 > > Basically, it turned out that the CRC was getting computed on an unflushed > buffer, or something like that. > > On Fri, May 14, 2021 at 10:05 AM Isaac Gerg > wrote: > >> I am using 1.19.5 on Windows 10 using Python 3.8.6 (ta

[Numpy-discussion] bad CRC errors when using np.savez, only sometimes though!

2021-05-14 Thread Isaac Gerg
I am using 1.19.5 on Windows 10 using Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]. I have two python processes running (i.e. no threads) which do independent processing jobs and NOT writing to the same directories. Each process runs for 5-10 hours and the

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-12 Thread Isaac Gerg
use I can't get hdf5 to create these files with 'O' type; I have to go through matlab. On Fri, May 12, 2017 at 9:59 AM, Isaac Gerg wrote: > I was able to fix my problem. One of the types in the recarray was of type > object when it should have been S27. Type object was

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-12 Thread Isaac Gerg
code back to where i had the systemerror to post. On Thu, May 11, 2017 at 5:17 PM, Isaac Gerg wrote: > Will do. I'm working on my side to get a solution that works. It seems > that when i use append_field i dont get a recarray back and when i call > asrecarray=True, i get an erro

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
wrote: > Even if you solve your own problem, please do - a SystemError is 100% a > mistake in numpy, and should never be raised from python code, even if you > call a numpy function with the wrong inputs. > > Eric > > > On Thu, 11 May 2017 at 19:35 Isaac Gerg wrote: > >

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
Looking at the code, i think merge and stack take in ndarrays, not recarrays is that correct? On Thu, May 11, 2017 at 2:34 PM, Isaac Gerg wrote: > Sure. > > On Thu, May 11, 2017 at 2:31 PM, Eric Wieser > wrote: > >> If that's the case, can you file an issue on g

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
Sure. On Thu, May 11, 2017 at 2:31 PM, Eric Wieser wrote: > If that's the case, can you file an issue on github along with a minimal > example that produces the error, and the full stack trace? > > On Thu, 11 May 2017 at 19:29 Isaac Gerg wrote: > >> newtable = np.lib

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
and > stack_arrays(). I forget which one does what. > > Cheers! > Ben Root > > > On Thu, May 11, 2017 at 1:51 PM, Isaac Gerg > wrote: > >> I'd prefer to stay in numpy land if possible. >> >> On Thu, May 11, 2017 at 1:17 PM, Isaac Xin Pei >> wrote: >

Re: [Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
I'd prefer to stay in numpy land if possible. On Thu, May 11, 2017 at 1:17 PM, Isaac Xin Pei wrote: > Check Pandas pd.concate ? > On Thu, May 11, 2017 at 12:45 PM Isaac Gerg > wrote: > >> I have 2 arrays, a and b which are rec arrays of length 10. Each array >>

[Numpy-discussion] How to concatenate 2 recarrays into a single recarray

2017-05-11 Thread Isaac Gerg
I have 2 arrays, a and b which are rec arrays of length 10. Each array has 5 columns. I would like to combine all the columns into a single recarray with 10 columns and length 10. Thanks, Isaac ___ NumPy-Discussion mailing list NumPy-Discussion@python.