application_vnd.jupyter.stderr_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

file = pd.read_csv('../input/pulsar_stars.csv')

y = file.target_class
X = file[file.columns[:8]]
X.shape

pd.value_counts(y).plot.bar()
plt.title('Data on star detection')
plt.xlabel('Class')
plt.ylabel('Frequency')
y.value_counts()