Home - Speed - Numpy compatibility - Summary (trunk) - Summary - Nightly builds - Waterfall - Builders - About

NumPyPy Status: how much of numpy can you use in pypy?

Version: 2.7.13 (b7bdc19909d9, Jan 18 2017, 23:00:10)

numpy compatibility test results


generated by running (in the pypy/numpy repo)
numpy/tool/numready/main.py <path-to-latest-pypy>

Overall: 541/558 names 149/161 ndarray attributes, 44/48 dtype attributes, 98/134 generic attributes, 29/32 flatiter attributes, 24/28 ufunc attributes, 42/49 nditer attributes

Warning: a positive result does not mean the function is actually working!
It only means that the function/module/constant is present.
It may be missing other things.

PyPy PyPy PyPy PyPy PyPy
ALLOW_THREADS dtype.__repr__ generic.flatten ndarray.__getitem__ ones_like
BUFSIZE dtype.__rmul__ generic.getfield ndarray.__getslice__ outer
CLIP dtype.__setattr__ generic.imag ndarray.__gt__ packbits
ComplexWarning dtype.__setstate__ generic.item ndarray.__hash__ percentile
DataSource dtype.__sizeof__ generic.itemset ndarray.__hex__ pi
ERR_CALL dtype.__str__ generic.itemsize ndarray.__iadd__ piecewise
ERR_DEFAULT dtype.__subclasshook__ generic.max ndarray.__iand__ pkgload
ERR_DEFAULT2 dtype.alignment generic.mean ndarray.__idiv__ place
ERR_IGNORE dtype.base generic.min ndarray.__ifloordiv__ pmt
ERR_LOG dtype.byteorder generic.nbytes ndarray.__ilshift__ poly
ERR_PRINT dtype.char generic.ndim ndarray.__imod__ poly1d
ERR_RAISE dtype.descr generic.newbyteorder ndarray.__imul__ polyadd
ERR_WARN dtype.fields generic.nonzero ndarray.__index__ polyder
FLOATING_POINT_SUPPORT dtype.flags generic.prod ndarray.__init__ polydiv
FPE_DIVIDEBYZERO dtype.hasobject generic.ptp ndarray.__int__ polyfit
FPE_INVALID dtype.isalignedstruct generic.put ndarray.__invert__ polyint
FPE_OVERFLOW dtype.isbuiltin generic.ravel ndarray.__ior__ polymul
FPE_UNDERFLOW dtype.isnative generic.real ndarray.__ipow__ polynomial
False_ dtype.itemsize generic.repeat ndarray.__irshift__ polysub
Inf dtype.kind generic.reshape ndarray.__isub__ polyval
Infinity dtype.metadata generic.resize ndarray.__iter__ power
MAXDIMS dtype.name generic.round ndarray.__itruediv__ ppmt
MachAr dtype.names generic.searchsorted ndarray.__ixor__ prod
NA dtype.newbyteorder generic.setfield ndarray.__le__ product
NAN dtype.num generic.setflags ndarray.__len__ promote_types
NAType dtype.shape generic.shape ndarray.__long__ ptp
NINF dtype.str generic.size ndarray.__lshift__ put
NZERO dtype.subdtype generic.sort ndarray.__lt__ putmask
NaN dtype.type generic.squeeze ndarray.__mod__ pv
PINF e generic.std ndarray.__mul__ r_
PZERO ediff1d generic.strides ndarray.__ne__ rad2deg
PackageLoader einsum generic.sum ndarray.__neg__ radians
RAISE emath generic.swapaxes ndarray.__new__ random
RankWarning empty generic.take ndarray.__nonzero__ rank
SHIFT_DIVIDEBYZERO empty_like generic.tofile ndarray.__oct__ rate
SHIFT_INVALID equal generic.tolist ndarray.__or__ ravel
SHIFT_OVERFLOW errstate generic.tostring ndarray.__pos__ ravel_multi_index
SHIFT_UNDERFLOW exp generic.trace ndarray.__pow__ real
ScalarType exp2 generic.transpose ndarray.__radd__ real_if_close
Tester expand_dims generic.var ndarray.__rand__ rec
True_ expm1 generic.view ndarray.__rdiv__ recarray
UFUNC_BUFSIZE_DEFAULT extract genfromtxt ndarray.__rdivmod__ recfromcsv
UFUNC_PYVALS_NAME eye get_array_wrap ndarray.__reduce__ recfromtxt
WRAP fabs get_include ndarray.__reduce_ex__ reciprocal
abs fastCopyAndTranspose get_numarray_include ndarray.__repr__ record
absolute fft get_printoptions ndarray.__rfloordiv__ remainder
add fill_diagonal getbuffer ndarray.__rlshift__ repeat
add_docstring find_common_type getbufsize ndarray.__rmod__ require
add_newdoc finfo geterr ndarray.__rmul__ reshape
add_newdoc_ufunc fix geterrcall ndarray.__ror__ resize
add_newdocs flatiter geterrobj ndarray.__rpow__ restoredot
alen flatiter.__array__ gradient ndarray.__rrshift__ result_type
all flatiter.__class__ greater ndarray.__rshift__ right_shift
allclose flatiter.__delattr__ greater_equal ndarray.__rsub__ rint
alltrue flatiter.__delitem__ half ndarray.__rtruediv__ roll
alterdot flatiter.__doc__ hamming ndarray.__rxor__ rollaxis
amax flatiter.__eq__ hanning ndarray.__setattr__ roots
amin flatiter.__format__ histogram ndarray.__setitem__ rot90
angle flatiter.__ge__ histogram2d ndarray.__setslice__ round
any flatiter.__getattribute__ histogramdd ndarray.__setstate__ round_
append flatiter.__getitem__ hsplit ndarray.__sizeof__ row_stack
apply_along_axis flatiter.__gt__ hstack ndarray.__str__ s_
apply_over_axes flatiter.__hash__ hypot ndarray.__sub__ safe_eval
arange flatiter.__init__ i0 ndarray.__subclasshook__ save
arccos flatiter.__iter__ identity ndarray.__truediv__ savetxt
arccosh flatiter.__le__ iinfo ndarray.__xor__ savez
arcsin flatiter.__len__ imag ndarray.all savez_compressed
arcsinh flatiter.__lt__ in1d ndarray.any sctype2char
arctan flatiter.__ne__ index_exp ndarray.argmax sctypeDict
arctan2 flatiter.__new__ indices ndarray.argmin sctypeNA
arctanh flatiter.__reduce__ inexact ndarray.argsort sctypes
argmax flatiter.__reduce_ex__ inf ndarray.astype searchsorted
argmin flatiter.__repr__ info ndarray.base select
argsort flatiter.__setattr__ infty ndarray.byteswap set_numeric_ops
argwhere flatiter.__setitem__ inner ndarray.choose set_printoptions
around flatiter.__sizeof__ insert ndarray.clip set_string_function
array flatiter.__str__ int ndarray.compress setbufsize
array2string flatiter.__subclasshook__ int0 ndarray.conj setdiff1d
array_equal flatiter.base int16 ndarray.conjugate seterr
array_equiv flatiter.coords int32 ndarray.copy seterrcall
array_repr flatiter.copy int64 ndarray.ctypes seterrobj
array_split flatiter.index int8 ndarray.cumprod setxor1d
array_str flatiter.next int_ ndarray.cumsum shape
asanyarray flatnonzero int_asbuffer ndarray.data short
asarray flexible intc ndarray.diagonal show_config
asarray_chkfinite fliplr integer ndarray.dot sign
ascontiguousarray flipud interp ndarray.dtype signbit
asfarray float intersect1d ndarray.dump signedinteger
asfortranarray float128 intp ndarray.dumps sin
asmatrix float16 invert ndarray.fill sinc
asscalar float32 ipmt ndarray.flags single
atleast_1d float64 irr ndarray.flat singlecomplex
atleast_2d float_ is_busday ndarray.flatten sinh
atleast_3d floating iscomplex ndarray.getfield size
average floor iscomplexobj ndarray.imag sometrue
bartlett floor_divide isfinite ndarray.item sort
base_repr fmax isfortran ndarray.itemset sort_complex
bench fmin isinf ndarray.itemsize source
binary_repr fmod isna ndarray.max spacing
bincount format_parser isnan ndarray.mean split
bitwise_and frexp isneginf ndarray.min sqrt
bitwise_not frombuffer isposinf ndarray.nbytes square
bitwise_or fromfile isreal ndarray.ndim squeeze
bitwise_xor fromfunction isrealobj ndarray.newbyteorder std
blackman fromiter isscalar ndarray.nonzero str
bmat frompyfunc issctype ndarray.prod str_
bool fromregex issubclass_ ndarray.ptp string0
bool8 fromstring issubdtype ndarray.put string_
bool_ fv issubsctype ndarray.ravel subtract
broadcast generic iterable ndarray.real sum
broadcast_arrays generic.T ix_ ndarray.repeat swapaxes
busday_count generic.__abs__ kaiser ndarray.reshape take
busday_offset generic.__add__ kron ndarray.resize tan
busdaycalendar generic.__and__ ldexp ndarray.round tanh
byte generic.__array__ left_shift ndarray.searchsorted tensordot
byte_bounds generic.__array_interface__ less ndarray.setasflat test
bytes_ generic.__array_priority__ less_equal ndarray.setfield testing
c_ generic.__array_struct__ lexsort ndarray.setflags tile
can_cast generic.__array_wrap__ lib ndarray.shape timedelta64
cast generic.__class__ linalg ndarray.size trace
cdouble generic.__copy__ linspace ndarray.sort transpose
ceil generic.__deepcopy__ little_endian ndarray.squeeze trapz
cfloat generic.__delattr__ load ndarray.std tri
char generic.__div__ loads ndarray.strides tril
character generic.__divmod__ loadtxt ndarray.sum tril_indices
chararray generic.__doc__ log ndarray.swapaxes tril_indices_from
choose generic.__eq__ log10 ndarray.take trim_zeros
clip generic.__float__ log1p ndarray.tofile triu
clongdouble generic.__floordiv__ log2 ndarray.tolist triu_indices
clongfloat generic.__format__ logaddexp ndarray.tostring triu_indices_from
column_stack generic.__ge__ logaddexp2 ndarray.trace true_divide
common_type generic.__getattribute__ logical_and ndarray.transpose trunc
compare_chararrays generic.__getitem__ logical_not ndarray.var typeDict
compat generic.__gt__ logical_or ndarray.view typeNA
complex generic.__hash__ logical_xor ndenumerate typecodes
complex128 generic.__hex__ logspace ndfromtxt typename
complex256 generic.__init__ long ndim ubyte
complex64 generic.__int__ longcomplex ndindex ufunc
complex_ generic.__invert__ longdouble nditer ufunc.__call__
complexfloating generic.__le__ longfloat nditer.__class__ ufunc.__class__
compress generic.__long__ longlong nditer.__copy__ ufunc.__delattr__
concatenate generic.__lshift__ lookfor nditer.__delattr__ ufunc.__doc__
conj generic.__lt__ ma nditer.__delitem__ ufunc.__format__
conjugate generic.__mod__ mafromtxt nditer.__delslice__ ufunc.__getattribute__
convolve generic.__mul__ mask_indices nditer.__doc__ ufunc.__hash__
copy generic.__ne__ mat nditer.__format__ ufunc.__init__
copysign generic.__neg__ math nditer.__getattribute__ ufunc.__name__
copyto generic.__new__ matrix nditer.__getitem__ ufunc.__new__
core generic.__nonzero__ matrixlib nditer.__getslice__ ufunc.__reduce__
corrcoef generic.__oct__ max nditer.__hash__ ufunc.__reduce_ex__
correlate generic.__or__ maximum nditer.__init__ ufunc.__repr__
cos generic.__pos__ maximum_sctype nditer.__iter__ ufunc.__setattr__
cosh generic.__pow__ may_share_memory nditer.__len__ ufunc.__sizeof__
count_nonzero generic.__radd__ mean nditer.__new__ ufunc.__str__
count_reduce_items generic.__rand__ median nditer.__reduce__ ufunc.__subclasshook__
cov generic.__rdiv__ memmap nditer.__reduce_ex__ ufunc.accumulate
cross generic.__rdivmod__ meshgrid nditer.__repr__ ufunc.identity
csingle generic.__reduce__ mgrid nditer.__setattr__ ufunc.nargs
ctypeslib generic.__reduce_ex__ min nditer.__setitem__ ufunc.nin
cumprod generic.__repr__ min_scalar_type nditer.__setslice__ ufunc.nout
cumproduct generic.__rfloordiv__ minimum nditer.__sizeof__ ufunc.ntypes
cumsum generic.__rlshift__ mintypecode nditer.__str__ ufunc.outer
datetime64 generic.__rmod__ mirr nditer.__subclasshook__ ufunc.reduce
datetime_as_string generic.__rmul__ mod nditer.copy ufunc.reduceat
datetime_data generic.__ror__ modf nditer.debug_print ufunc.signature
deg2rad generic.__rpow__ msort nditer.dtypes ufunc.types
degrees generic.__rrshift__ multiply nditer.enable_external_loop uint
delete generic.__rshift__ nan nditer.finished uint0
deprecate generic.__rsub__ nan_to_num nditer.has_delayed_bufalloc uint16
deprecate_with_doc generic.__rtruediv__ nanargmax nditer.has_index uint32
diag generic.__rxor__ nanargmin nditer.has_multi_index uint64
diag_indices generic.__setattr__ nanmax nditer.index uint8
diag_indices_from generic.__setstate__ nanmin nditer.iterationneedsapi uintc
diagflat generic.__sizeof__ nansum nditer.iterindex uintp
diagonal generic.__str__ nbytes nditer.iternext ulonglong
diff generic.__sub__ ndarray nditer.iterrange unicode
digitize generic.__subclasshook__ ndarray.T nditer.itersize unicode0
disp generic.__truediv__ ndarray.__abs__ nditer.itviews unicode_
divide generic.__xor__ ndarray.__add__ nditer.multi_index union1d
dot generic.all ndarray.__and__ nditer.ndim unique
double generic.any ndarray.__array__ nditer.next unpackbits
dsplit generic.argmax ndarray.__array_finalize__ nditer.nop unravel_index
dstack generic.argmin ndarray.__array_interface__ nditer.operands unsignedinteger
dtype generic.argsort ndarray.__array_prepare__ nditer.remove_axis unwrap
dtype.__class__ generic.astype ndarray.__array_priority__ nditer.remove_multi_index ushort
dtype.__delattr__ generic.base ndarray.__array_struct__ nditer.reset vander
dtype.__doc__ generic.byteswap ndarray.__array_wrap__ nditer.shape var
dtype.__eq__ generic.choose ndarray.__class__ nditer.value vdot
dtype.__format__ generic.clip ndarray.__contains__ negative vectorize
dtype.__ge__ generic.compress ndarray.__copy__ nested_iters version
dtype.__getattribute__ generic.conj ndarray.__deepcopy__ newbuffer void
dtype.__getitem__ generic.conjugate ndarray.__delattr__ nextafter void0
dtype.__gt__ generic.copy ndarray.__delitem__ nonzero vsplit
dtype.__hash__ generic.cumprod ndarray.__delslice__ not_equal vstack
dtype.__init__ generic.cumsum ndarray.__div__ nper where
dtype.__le__ generic.data ndarray.__divmod__ npv who
dtype.__len__ generic.diagonal ndarray.__doc__ number zeros
dtype.__lt__ generic.dtype ndarray.__eq__ obj2sctype zeros_like
dtype.__mul__ generic.dump ndarray.__float__ object
dtype.__ne__ generic.dumps ndarray.__floordiv__ object0
dtype.__new__ generic.fill ndarray.__format__ object_
dtype.__reduce__ generic.flags ndarray.__ge__ ogrid
dtype.__reduce_ex__ generic.flat ndarray.__getattribute__ ones