Skip to content

Fix the warning and error:#3

Open
alihasanahmedkhan wants to merge 1 commit into
taknev83:mainfrom
alihasanahmedkhan:alihasanahmedkhan_patch
Open

Fix the warning and error:#3
alihasanahmedkhan wants to merge 1 commit into
taknev83:mainfrom
alihasanahmedkhan:alihasanahmedkhan_patch

Conversation

@alihasanahmedkhan

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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