TenSEAL
TenSEAL copied to clipboard
Update Tutorial 1 - Training and Evaluation of Logistic Regression on…
… Encrypted Data.ipynb
Fixed axis attribute error in data.drop() from 'columns' to axis=1
Description
Prior error:
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
Fix:
data = data.drop("TenYearCHD", 'columns')
---> data = data.drop("TenYearCHD", axis=1)
How has this been tested?
- Successfully executing jupyter notebook locally on Windows 11, Python 3.10.0, TenSEAL 0.3.14
Checklist
- [x] I have followed the Contribution Guidelines and Code of Conduct
- [x] I have commented my code following the OpenMined Styleguide
- [ ] I have labeled this PR with the relevant Type labels
- [ ] My changes are covered by tests
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Can someone help me out with the workflow approvals for this PR? It's a simple attribute error I noticed while following the TenSEAL tutorial.