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

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

train.sample(20)

test.sample(20)

print(f'Data size:\n- Training data: Number of row = {train.shape[0]}, Number of columns = {train.shape[1]}\n- Test data    : Number of row = {test.shape[0]}, Number of columns = {test.shape[1]}')