-
-
Save amankharwal/1aac13d576a40bbced36d76e04634446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plt.subplot(2,1,1) | |
plt.title('Distriubtion Of Sentiments Across Our Tweets',fontsize=19,fontweight='bold') | |
sns.kdeplot(f_data['Negative Sentiment'],bw=0.1) | |
sns.kdeplot(f_data['Positive Sentiment'],bw=0.1) | |
sns.kdeplot(f_data['Neutral Sentiment'],bw=0.1) | |
plt.xlabel('Sentiment Value',fontsize=19) | |
plt.subplot(2,1,2) | |
plt.title('CDF Of Sentiments Across Our Tweets',fontsize=19,fontweight='bold') | |
sns.kdeplot(f_data['Negative Sentiment'],bw=0.1,cumulative=True) | |
sns.kdeplot(f_data['Positive Sentiment'],bw=0.1,cumulative=True) | |
sns.kdeplot(f_data['Neutral Sentiment'],bw=0.1,cumulative=True) | |
plt.xlabel('Sentiment Value',fontsize=19) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment