c16.imag c16.real.real c16.real.imag c16.ndim c16.size c16.itemsize c16.shape c16.strides c16.squeeze() c16.byteswap() c16.transpose() # Aliases np.str0() np.bool8() np.bytes0() np.string_() np.object0() np.void0(0) np.byte() np.short() np.intc() np.intp() np.int0() np.int_() np.longlong() np.ubyte() np.ushort() np.uintc()
reveal_type(x.byteswap()) # E: {complex64} reveal_type(x.transpose()) # E: {complex64} reveal_type(x.dtype) # E: numpy.dtype[{complex64}] reveal_type(np.complex64().real) # E: {float32} reveal_type(np.complex128().imag) # E: {float64} reveal_type(np.unicode_('foo')) # E: numpy.str_ reveal_type(np.str0('foo')) # E: numpy.str_ # Aliases reveal_type(np.unicode_()) # E: numpy.str_ reveal_type(np.str0()) # E: numpy.str_ reveal_type(np.bool8()) # E: numpy.bool_ reveal_type(np.bytes0()) # E: numpy.bytes_ reveal_type(np.string_()) # E: numpy.bytes_ reveal_type(np.object0()) # E: numpy.object_ reveal_type(np.void0(0)) # E: numpy.void reveal_type(np.byte()) # E: {byte} reveal_type(np.short()) # E: {short} reveal_type(np.intc()) # E: {intc} reveal_type(np.intp()) # E: {intp} reveal_type(np.int0()) # E: {intp} reveal_type(np.int_()) # E: {int_} reveal_type(np.longlong()) # E: {longlong} reveal_type(np.ubyte()) # E: {ubyte} reveal_type(np.ushort()) # E: {ushort} reveal_type(np.uintc()) # E: {uintc}
# In[34]: np.append(l,56) # In[35]: np.asanyarray(l) # In[36]: np.bytes0([1,2,6,8,9]) # In[37]: np.alltrue(l) # In[38]: np.atleast_1d(1,4,8,9) # In[39]: