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

TypeError #1

Open
waseem-avi opened this issue Mar 21, 2024 · 1 comment
Open

TypeError #1

waseem-avi opened this issue Mar 21, 2024 · 1 comment

Comments

@waseem-avi
Copy link

Type error when i run the following line of code

sns.jointplot(customers['Time on App'],customers['Yearly Amount Spent'])


TypeError Traceback (most recent call last)
Cell In[15], line 1
----> 1 sns.jointplot(customers['Time on App'],customers['Yearly Amount Spent'])

TypeError: jointplot() takes from 0 to 1 positional arguments but 2 were given

@waseem-avi
Copy link
Author

This is how i fixed it
sns.jointplot(x=customers['Time on App'],y=customers['Yearly Amount Spent'],kind='hex')

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

No branches or pull requests

1 participant