Problem with numpy.records module
March 22, 2013
3:41 a.m.
Hello, I am trying to use titles for record arrays. In the documentation, it is specified that any column can set to "None". However, using 'None' fails on numpy 1.6.2 because in np.core.records, on line 195, the "strip" method is called on the title object. First, I hope I understood the documentation correctly. If so, is it possible to replace the line 195 with: self._titles = [n.strip() if n is not None else None for n in titles[:self._nfields]] so 'None' elements are handled properly? Thanks, -- Barbier de Reuille Pierre
4945
Age (days ago)
4945
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pierre Barbier de Reuille