Linear-Regression
Linear-Regression copied to clipboard
TypeError
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
This is how i fixed it sns.jointplot(x=customers['Time on App'],y=customers['Yearly Amount Spent'],kind='hex')