question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Big list of functions in the top-level namespace missing types

See original GitHub issue

This is a big list of functions in the main numpy namespace that are missing types. You can regenerate an updated version of it with a

./runtests.py --find-missing numpy

If you are interested in contributing, adding stubs for one of these functions is a good place to start!

Last updated: 28 October 2021

  • DataSource
  • ScalarType
  • angle
  • append
  • apply_along_axis
  • apply_over_axes
  • arange
  • array_split
  • asarray_chkfinite
  • asfarray
  • asmatrix
  • average
  • bartlett
  • bincount
  • bitwise_not
  • blackman
  • bmat
  • broadcast
  • broadcast_arrays
  • broadcast_to
  • busday_count
  • busday_offset
  • busdaycalendar
  • byte_bounds
  • c_
  • can_cast
  • cast
  • chararray
  • column_stack
  • common_type
  • compare_chararrays
  • concatenate
  • conj
  • copy
  • copyto
  • corrcoef
  • cov
  • cumproduct
  • datetime_as_string
  • datetime_data
  • delete
  • deprecate
  • deprecate_with_doc
  • diag
  • diag_indices
  • diag_indices_from
  • diagflat
  • diff
  • digitize
  • disp
  • divide
  • dot
  • dsplit
  • dstack
  • ediff1d
  • einsum
  • einsum_path
  • expand_dims
  • extract
  • eye
  • fill_diagonal
  • finfo
  • fix
  • flip
  • fliplr
  • flipud
  • format_parser
  • frombuffer
  • fromfile
  • fromiter
  • frompyfunc
  • fromregex
  • fromstring
  • genfromtxt
  • get_include
  • geterrobj
  • gradient
  • hamming
  • hanning
  • histogram
  • histogram2d
  • histogram_bin_edges
  • histogramdd
  • hsplit
  • i0
  • iinfo
  • imag
  • in1d
  • index_exp
  • info
  • inner
  • insert
  • interp
  • intersect1d
  • is_busday
  • iscomplex
  • iscomplexobj
  • isin
  • isneginf
  • isposinf
  • isreal
  • isrealobj
  • iterable
  • ix_
  • kaiser
  • kron
  • lexsort
  • load
  • loadtxt
  • lookfor
  • mask_indices
  • mat
  • matrix
  • max
  • may_share_memory
  • median
  • memmap
  • meshgrid
  • mgrid
  • min
  • min_scalar_type
  • mintypecode
  • mod
  • msort
  • nan_to_num
  • nanargmax
  • nanargmin
  • nancumprod
  • nancumsum
  • nanmax
  • nanmean
  • nanmedian
  • nanmin
  • nanpercentile
  • nanprod
  • nanquantile
  • nanstd
  • nansum
  • nanvar
  • nbytes
  • ndenumerate
  • ndindex
  • nditer
  • nested_iters
  • newaxis
  • ogrid
  • packbits
  • pad
  • percentile
  • piecewise
  • place
  • poly
  • poly1d
  • polyadd
  • polyder
  • polydiv
  • polyfit
  • polyint
  • polymul
  • polysub
  • polyval
  • product
  • promote_types
  • put_along_axis
  • putmask
  • quantile
  • r_
  • ravel_multi_index
  • real
  • real_if_close
  • recarray
  • recfromcsv
  • recfromtxt
  • record
  • result_type
  • roots
  • rot90
  • round
  • round_
  • row_stack
  • s_
  • save
  • savetxt
  • savez
  • savez_compressed
  • select
  • setdiff1d
  • seterrobj
  • setxor1d
  • shares_memory
  • show_config
  • sinc
  • sort_complex
  • source
  • split
  • take_along_axis
  • tile
  • trapz
  • tri
  • tril
  • tril_indices
  • tril_indices_from
  • trim_zeros
  • triu
  • triu_indices
  • triu_indices_from
  • typecodes
  • typename
  • union1d
  • unique
  • unpackbits
  • unravel_index
  • unwrap
  • vander
  • vdot
  • vectorize
  • vsplit
  • where
  • who

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:39 (38 by maintainers)

github_iconTop GitHub Comments

1reaction
BvB93commented, Aug 28, 2020

Removed the 8 functions implemented in https://github.com/numpy/numpy/pull/16729:

  • prod()
  • cumprod()
  • ndim()
  • size()
  • around()
  • mean()
  • std()
  • var()
0reactions
BvB93commented, Oct 28, 2021

Removed 1 class annotated in https://github.com/numpy/numpy/pull/20165:

  • chararray

Removed 1 class annotated in https://github.com/numpy/numpy/pull/20105:

  • matrix

Removed 1 class deprecated in https://github.com/numpy/numpy/pull/20201:

  • MachAr
Read more comments on GitHub >

github_iconTop Results From Across the Web

What does __all__ mean in Python? - Stack Overflow
It is a list of strings defining what symbols in a module will be exported ... of using __all__ is that you have...
Read more >
Documentation - Namespaces and Modules - TypeScript
This post outlines the various ways to organize your code using modules and namespaces in TypeScript. We'll also go over some advanced topics...
Read more >
Lambda function handler in C# - AWS Lambda
The Lambda function handler is the method in your function code that processes events. When your function is invoked, Lambda runs the handler...
Read more >
Top-level statements - C# tutorial - Microsoft Learn
The type of args is a string[] , as in all C# programs. You can test your code by running the following dotnet...
Read more >
Built-in Exceptions — Python 3.11.1 documentation
This exception is raised when a system function returns a system-related error, including I/O failures such as “file not found” or “disk full”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found