text_html_output_1.png
import pandas as pd

df1 = pd.read_csv('../input/spaceship-titanic/train.csv')
df2 = pd.read_csv('../input/spaceship-titanic/test.csv')

df1.describe(include='object').round().T

round(df1.isna().sum() / df1.shape[0], 2)

print('Statistical Distribution of Passengers in CryoSleep\n')
round(df1[df1['CryoSleep'] == True].describe(), 3)