text_html_output_1.png
import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/spaceship-titanic/train.csv')

df.sample(5)

df.shape

round(df.isna().sum() / df.shape[0] * 100, 2)

for col in df.select_dtypes(include='object'):
    print(f'{col} -- > {df[col].unique()} \nTotal Unique Values --> {df[col].nunique()}\n-----------------------------------')