TenSEAL icon indicating copy to clipboard operation
TenSEAL copied to clipboard

Update Tutorial 1 - Training and Evaluation of Logistic Regression on…

Open yashmaurya01 opened this issue 1 year ago • 2 comments

… 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

yashmaurya01 avatar Oct 18 '23 03:10 yashmaurya01

Check out this pull request on  ReviewNB

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.

yashmaurya01 avatar Oct 18 '23 03:10 yashmaurya01