text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

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

import seaborn as sns

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

df.pivot_table(index='CryoSleep', columns='Transported', aggfunc={'Transported': 'count'})

df.head(3)