Maxime Lucas

Results 77 comments of Maxime Lucas

That makes sense! Setting `prob=0.2` yields a Pandas DataFrame. Thanks for the explanation. I'm guessing you made that choice to optimise the code in some way. I'm just thinking, if...

I sensed it would be something like this, it makes sense, thanks. Your point 1. should make it quite safe. In any case I don't have a better solution either,...

I believe the problem comes from the `_calc_netshape()` function in the `teneto/classes/network.py` file. When the network is *not* sparse (branch `else` of the conditional statement) T is assigned the value...

It took me way longer to reply, oops. Thanks, I saw you replaced the line in the file. One more question, though: this does not work for decimal times, e.g....

Thanks for the clarifications! Of course, it all takes time to build!

I would add a check inside `NodeStat.mean`, raising an error. We already have quite a few classes, and in this case the fix seems easy enough to not make me...

Personally I would make the check in each of these. The check can probably hold in 2-5 lines I guess, and we have 4 methods We might add a few...

Could frame them as set operations: union, intersection, subtraction.

Looks powerful. Would certainly be useful. A few small thoughts: - I'm still unsure about the call syntax that is long with so many dots (not just for this one...

Thanks for this Leo. Options 1 and 2 don't feel optimal. - right now, `H.nodes.degree` and all other similar stats functions would give some uninformative error like `None has no...