text_plain_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.CryoSleep.value_counts().plot(kind='pie', figsize=(12, 5), autopct='%0.1f%%')
plt.xlabel('Percentage of Passengers CryoSleeping')
plt.ylabel('')
plt.show()