-
Notifications
You must be signed in to change notification settings - Fork 839
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
fix deprecation warning in standard dataset #109
Comments
Hi @nrkarthikeyan, can you share how to reproduce the warring message? |
Hi @autoih, the following steps work in my machine conda create -n myenv python=3.7 and from inside python: import aif360 This is the message I get WARNING:root:Missing Data: 3620 rows removed from AdultDataset. |
Custom datasets cannot be used - NotImplementedError being raised. |
Nvm - packages on PyPi are just a little outdated. |
WARNING:root:Missing Data: 3620 rows removed from AdultDataset.
.../python3.7/site-packages/aif360/datasets/standard_dataset.py:121: FutureWarning: outer method for ufunc <ufunc 'equal'> is not implemented on pandas objects. Returning an ndarray, but in the future this will raise a 'NotImplementedError'. Consider explicitly converting the Series to an array with '.array' first.
priv = np.logical_or.reduce(np.equal.outer(vals, df[attr]))
The text was updated successfully, but these errors were encountered: