image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

import numpy as np
import pandas as pd
import kagglegym
train_df = pd.read_json('../input/train.json')
test_df = pd.read_json('../input/test.json')

import matplotlib.pyplot as plt
import seaborn as sns
color = sns.color_palette()
int_level = train_df['interest_level'].value_counts()
plt.figure(figsize=(8, 4))
sns.barplot(int_level.index, int_level.values, alpha=0.8, color=color[1])
plt.ylabel('Number of Occurrences', fontsize=12)
plt.xlabel('Interest level', fontsize=12)
plt.show()