Skip to content

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

Open
ZaxR wants to merge 1 commit intoengarde-dev:masterfrom
ZaxR:hotfix/future-warnings
Open

Hotfix: np.ravel and get_duplicates() future warnings#57
ZaxR wants to merge 1 commit intoengarde-dev:masterfrom
ZaxR:hotfix/future-warnings

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