text_plain_output_1.png
import matplotlib.pyplot as plt

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

import scipy as scipy

import seaborn as sns

hosp = pd.read_csv('../input/mimic3d.csv')

hosp.dtypes

hosp.shape

scipy.stats.kurtosis(hosp.age)

hosp.isnull().sum()

plt.xticks(rotation=90)

scipy.stats.chisquare(hosp.age)

scipy.stats.pearsonr(hosp.age, hosp.admit_type)

scipy.stats.skew(hosp.age, axis=0, bias=True, nan_policy='propagate')

numpy.histogram(hosp.age, bins=40, range=None, normed=None, weights=None, density=None)