Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-dimensional indexing is deprecated in pandas. #130

Merged
merged 3 commits into from
Oct 13, 2020

Conversation

cgdeboer
Copy link
Contributor

@cgdeboer cgdeboer commented Oct 7, 2020

Pandas is removing this [:, x] style of multi-dimension indexer. (pandas-dev/pandas#27837).

This converts pandas Series to an array to ensure API is compliant with updates to Pandas.

Copy link
Member

@richafrank richafrank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cgdeboer ! Makes sense to me. I suggested what I think is a simpler implementation, but let me know what you think, or if it doesn't work for some reason.

empyrical/stats.py Outdated Show resolved Hide resolved
empyrical/stats.py Outdated Show resolved Hide resolved
cgdeboer and others added 2 commits October 10, 2020 09:08
Co-authored-by: Richard Frank <richafrank@users.noreply.github.com>
Co-authored-by: Richard Frank <richafrank@users.noreply.github.com>
@cgdeboer
Copy link
Contributor Author

@richafrank looks like the last tagged version was Aug of last year. When do you and team anticipate cutting a new version, with this PR included ?

@richafrank
Copy link
Member

When do you and team anticipate cutting a new version, with this PR included ?

It looks like the most recent tagged version was June of this year (0.5.4), but the team never made a release. I just made a release for that, and I'll do the same after merging this.

@richafrank richafrank merged commit 2a452ab into quantopian:master Oct 13, 2020
@richafrank
Copy link
Member

@cgdeboer 0.5.5 is released!

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