# Visualize the distribution of sentiment values import matplotlib.pyplot as plt import seaborn as sns # Set the style of the visualization sns.set(style='whitegrid') # Create a histogram of the sentiment values plt.figure(figsize=(10, 6)) sns.histplot(df['sentiment'], bins=30, kde=True, color='blue') plt.title('Distribution of Sentiment Values') plt.xlabel('Sentiment') plt.ylabel('Frequency') plt.show()