text_html_output_1.png
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('/kaggle/input/spaceship-titanic/train.csv')

data = pd.read_csv('/kaggle/input/spaceship-titanic/test.csv')

df.shape

data.shape

df.drop('PassengerId', axis=1)
df.drop('Name', axis=1, inplace=True)
data.drop('PassengerId', axis=1)
data.drop('Name', axis=1, inplace=True)

df.isnull().sum()