Linear-Regression icon indicating copy to clipboard operation
Linear-Regression copied to clipboard

TypeError

Open waseem-avi opened this issue 11 months ago • 1 comments

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 avatar Mar 21 '24 03:03 waseem-avi

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

waseem-avi avatar Mar 21 '24 04:03 waseem-avi