BUG: The signature of cKDTree.query_pairs in the docs does not mention the output_type parameter
See original GitHub issueDescribe your issue.
At https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.cKDTree.query_pairs.html the method signature is given as cKDTree.query_pairs(self, r, p=2., eps=0)
, missing the output_type
parameter (which is correctly listed in the parameter list just below.
Reproducing Code Example
N/A
Error message
N/A
SciPy/NumPy/Python version information
1.9.1 1.23.3 sys.version_info(major=3, minor=10, micro=7, releaselevel=‘final’, serial=0)
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
BUG: Missing pairs in cKDTree.query_pairs when coordinates ...
If one constructs a cKDTree with some nan coordinates, and then run query_pairs, some real pairs (not involving nans) will sometimes be missing....
Read more >scipy.spatial.cKDTree — SciPy v1.9.3 Manual
This class provides an index into a set of k-dimensional points which can be used to rapidly look up the nearest neighbors of...
Read more >Scipy cKDTree query_pairs versus query_ball_tree
query_pairs find all pairs of points in self whose distance is at most r. These new official docs might help you: scipy.spatial.cKDTree.
Read more >[SciPy-User] scipy.KDTree.query ball tree - Google Groups
It seems that the documentation is missing a parameter. I found an ... SciPy-User mailing list ... be called with a KDTree instance...
Read more >sklearn.neighbors.KDTree — scikit-learn 1.2.0 documentation
Additional keywords are passed to the distance metric class. Note: Callable functions in the metric parameter are NOT supported for KDTree: and Ball...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, but probably after I treat other PRs I’ve started?
I’ll pass on that one 😃