Pandas データフレームには、これら 3 つの列「user_fair、user_good、rating」があります。
sns.swarmplot
「user_fair vs rating」および「user_good vs rating」をプロットするために使用しています。
「user_fair vs rating」は正常に動作しますが、「user_good vs rating」をプロットしようとすると、コードが永遠に実行され、プロットが出力されません。と を使用Python3
してJupyter Notebook
います。
これは私が使用しているコードです:
fig, ax = plt.subplots(figsize=(15, 15))
ax = sns.swarmplot(y="user_good", x="rating", data=data)
ax.set_xlabel("Rating",size = 20,alpha=0.8)
ax.set_ylabel("Goodness of User who got Rated",size = 20,alpha=0.8)
ax.set_title("Distributin of Rating and How are Goodness Score of ratee",size=20)