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

Fix the warning and error: #3

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

Conversation

alihasanahmedkhan
Copy link

FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only

Fix the error:
NameError: name 'display' is not defined

Below were the complete Warning and Error:

FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only
  self.X = self.train.drop(self.y,1)
Traceback (most recent call last):
  File "tuba.py", line 14, in <module>
    chart = mc.make_charts()
  File "/home/sahil/pywedge/pywedge.py", line 42, in make_charts
    display(header)
NameError: name 'display' is not defined

FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only

Fix the error:
NameError: name 'display' is not defined
@taknev83
Copy link
Owner

Hi,

Thanks for the PR & for your time :) I am tied up in an another project, will merge this PR soon...

@alihasanahmedkhan
Copy link
Author

Hi,
Thank you for your response. Sure no problem at all.

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.

2 participants