Skip to content

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