[Numpy-discussion] a list of all available integer dtypes
Fri Aug 9 17:57:35 CDT 2013
* Matthew Brett <firstname.lastname@example.org> [2013-08-10]:
> On Fri, Aug 9, 2013 at 3:17 PM, Robert Kern <email@example.com> wrote:
> > On Fri, Aug 9, 2013 at 11:06 PM, Valentin Haenel <firstname.lastname@example.org> wrote:
> >> I have a quick question: Is there a way to get a list of all available
> >> Numpy integer dtypes programatically?
> > [~]
> > |8> def all_dtypes(cls):
> or (at least for the standard int dtypes):
> np.sctypes['int'] + np.sctypes['uint']
Thanks Matthew and Robert. That was very helpful.
More information about the NumPy-Discussion