image_output_1.png
import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/harddrive.csv', usecols=['failure', 'smart_1_normalized'], nrows=100000)

sns.regplot(df['smart_1_normalized'], df['failure'], line_kws={'color': 'k', 'lw': 1})