Skip to content
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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yashmaurya01
Copy link

@yashmaurya01 yashmaurya01 commented Oct 18, 2023

… 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

… Encrypted Data.ipynb

Fixed axis attribute error in data.drop() from 'columns' to axis=1
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@yashmaurya01
Copy link
Author

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.

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