
20 Mar
2013
20 Mar
'13
1:57 p.m.
Hey,
I am trying to use titles for the record arrays. In the documentation, it is specified that any column can set to "None". However, trying this fails on numpy 1.6.2 because in np.core.records, on line 195, the "strip" method is called on the title object. This is really annoying. Could we fix this by replacing line 195 with:
self._titles = [n.strip() if n is not None else None for n in titles[:self._nfields]]
?
Thank you,
--
Barbier de Reuille Pierre