Dan Schult

Results 560 comments of Dan Schult

So, if understand the discussion, this function computes a kind of average path length where by average we use the harmonic mean instead of the arithmetic mean. What do people...

The commits from each PR get "squashed" when we merge the PR. So it comes to the main branch as a single commit. The comments are all still there. That's...

I think we want the code, and not the result of the code, to show in the error message. It's intent is to help the user figure out how to...

It's actually slightly different (worse?) than that. `B=A.copy()` means that `B` has the empty string as the name. It is also `strict` even if `A` is not strict. Basically, B...

I think this one is ready for review. The name is now `nx.lazy_import` as it was made in #4909 . This PR moves the imports of whole packages out of...

I have changed how the lazy_import handles subpackages. We can now load the subpackages at the top of the module instead of inside a function. For example ```python sp =...

I'm not getting these errors locally, and the traceback doesn't work well with these DelayedImportErrorModule imports on CI. The error reports indicate it is having trouble with a lazily-loaded pydot,...

I've got pandas 1.4.0 and scipy 1.8.0rc2. But I don't get an error. I'm using conda-forge with pip on top to get scipy 1.8.0rc2. Is it possible this is a...

The fact that it is looking for 'pydot' makes me think that one of the lazy_imports of pydot is leaking out into the wild. So, it could be that pydot...

I agree. Something has changed for Modules. And it is definitely from Python 3.10. It all passes on 3.9.