getting this error while executing
sns.jointplot(x=‘rating’,y=‘num of rating’,data=ratings)
AttributeError: 'str' object has no attribute 'get'
Hey @aakashsharma845
To pin-point the error, I need to see the data contained in the ratings variable (It should be a DataFrame and should contain the x and y strings as variable names).
Also, x and y are positional arguments. You don’t need to pass them as keyword arguments.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.