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.

BUG: The signature of cKDTree.query_pairs in the docs does not mention the output_type parameter

See original GitHub issue

Describe 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:open
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jjerphancommented, Sep 30, 2022

Yes, but probably after I treat other PRs I’ve started?

1reaction
anntzercommented, Sep 28, 2022

I’ll pass on that one 😃

Read more comments on GitHub >

github_iconTop 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 >

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