text_plain_output_1.png
import pandas as pd

dataset_columns = ['sentiment', 'ids', 'date', 'flag', 'user', 'text']
dataset_encode = 'ISO-8859-1'
tweet_df = pd.read_csv('../input/twitter-sentiment/training.1600000.processed.noemoticon.csv', encoding=dataset_encode, names=dataset_columns)

df_pos = tweet_df[tweet_df['sentiment'] == 4]
df_neg = tweet_df[tweet_df['sentiment'] == 0]
print(len(df_pos), len(df_neg))