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

Hotfix: np.ravel and get_duplicates() future warnings #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZaxR
Copy link

@ZaxR ZaxR commented Jan 9, 2019

Updates for two future warnings:

  1. Using integers to specify order for np.ravel was deprecated in NumPy version 1.12.0, since it was an unintended feature (see release notes https://docs.scipy.org/doc/numpy-1.12.0/release.html#id13). Resulting order is unchanged from this update.

  2. df.index.get_duplicates() was deprecated in 0.23.0. Updated code is taken directly from the warning's recommendation: https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Index.get_duplicates.html#pandas.Index.get_duplicates

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.

1 participant