text_plain_output_2.png text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/hmeq-data/hmeq.csv')

df.shape

df.sample(30)

df.describe().T

df['REASON'].astype('category').cat.categories