Skip to content

longest spells#597

Merged
remicousin merged 1 commit into
masterfrom
longestspells
Feb 23, 2026
Merged

longest spells#597
remicousin merged 1 commit into
masterfrom
longestspells

Conversation

@remicousin
Copy link
Copy Markdown
Contributor

Here I came to realize that I need the _cumsum master function to return NaN when all entries are NaN (and not return 0). It makes more sense but it's also motivated by the the all-nan slices everywhere but control scenario. In previous cases, I had methods that had skipna and mincount to deal with that, but max doesn't have that.

I dropped comments but will turn them to doc entries in a later PR.

This probably has an impact on all the other cases, possibly making unncessary all the additional skipna/mincount arguments. I'll also check on that in another later PR.

@remicousin remicousin requested a review from xchourio February 23, 2026 17:05
@remicousin remicousin self-assigned this Feb 23, 2026
@remicousin remicousin merged commit 2684aea into master Feb 23, 2026
@remicousin remicousin deleted the longestspells branch February 23, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants