<div dir="ltr">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 the result of reading in a matlab generated hdf5 file which had a string for one of the matrix columns.  I converted this column manually to a S27.<div><br></div><div>I am reverting my code back to where i had the systemerror to post.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 5:17 PM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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 error.  once i fix this.  i will replicate the error and post to github.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 5:07 PM, Eric Wieser <span dir="ltr"><<a href="mailto:wieser.eric+numpy@gmail.com" target="_blank">wieser.eric+numpy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<span class="m_5466791759285793834HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="m_5466791759285793834HOEnZb"><font color="#888888">Eric</font></span><div><div class="m_5466791759285793834h5"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 11 May 2017 at 19:35 Isaac Gerg <<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 2:31 PM, Eric Wieser <span dir="ltr"><<a href="mailto:wieser.eric+numpy@gmail.com" target="_blank">wieser.eric+numpy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?</div><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593HOEnZb"><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593h5"><br><div class="gmail_quote"><div dir="ltr">On Thu, 11 May 2017 at 19:29 Isaac Gerg <<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">newtable = np.lib.recfunctions.merge_arra<wbr>ys([a, b], asrecarray=True)<div><br></div><div>yeilds:</div><div><br></div><div><span style="font-size:large;font-weight:600;color:rgb(0,0,102)">builtins.SystemError: ..\Objects\dictobject.c:2054: bad argument to internal function</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 2:02 PM, Benjamin Root <span dir="ltr"><<a href="mailto:ben.v.root@gmail.com" target="_blank">ben.v.root@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Check in numpy.recfunctions. I know there is merge_arrays() and stack_arrays(). I forget which one does what.<br><br></div>Cheers!<br></div>Ben Root<br><br></div><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194HOEnZb"><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 1:51 PM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'd prefer to stay in numpy land if possible.</div><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194m_-6074424984155052558HOEnZb"><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194m_-6074424984155052558h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 1:17 PM, Isaac Xin Pei <span dir="ltr"><<a href="mailto:isaacpei@gmail.com" target="_blank">isaacpei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Check Pandas pd.concate ?<br><div class="gmail_quote"><div><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194m_-6074424984155052558m_8415629231716548610h5"><div dir="ltr">On Thu, May 11, 2017 at 12:45 PM Isaac Gerg <<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5466791759285793834m_4215693177969274337m_6985719392093042593m_7096118909591530913m_-2037127635882915194m_-6074424984155052558m_8415629231716548610h5"><div dir="ltr">I have 2 arrays, a and b which are rec arrays of length 10.  Each array has 5 columns.<div><br></div><div>I would like to combine all the columns into a single recarray with 10 columns and length 10.</div><div><br></div><div>Thanks,</div><div>Isaac</div></div></div></div>
______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
</blockquote></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>
______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>
______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
</blockquote></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>