Skip to content

Businessday make np.busday_count return negative values when the start date is after end date#117

Closed
gandalf013 wants to merge 2 commits intonumpy:masterfrom
gandalf013:businessday2
Closed

Businessday make np.busday_count return negative values when the start date is after end date#117
gandalf013 wants to merge 2 commits intonumpy:masterfrom
gandalf013:businessday2

Conversation

@gandalf013
Copy link
Contributor

np.busday_count() returns 0 if start date is after end date. This patch fixes it to return negative values in this case.

@mwiebe
Copy link
Member

mwiebe commented Jul 19, 2011

The change looks good, I've gone ahead and merged it. I updated the documentation and tests as well, to complete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants