OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors
Apache License 2.0
811 stars 156 forks source link

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

Open yashmaurya01 opened 11 months ago

yashmaurya01 commented 11 months ago

… 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?

Checklist

review-notebook-app[bot] commented 11 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

yashmaurya01 commented 11 months ago

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.