df.isna().sum() is used to find out the sum value of the isnull values
df['date'] = pd.to_datetime(df.date) changin the column for datetime column
for_bar = df['transaction'].value_counts() used for counting values
for_bar.plot(kind ='bar', color = ['green', 'red'],) for viz of plot with conditions