text_plain_output_1.png
import pandas as pd

train = pd.read_csv('../input/train.csv')
test = pd.read_csv('../input/test.csv')

nrow_train = train.shape[0]
nrow_test = test.shape[0]
sum = nrow_train + nrow_test
print('       : train : test')
print('rows   :', nrow_train, ':', nrow_test)
print('perc   :', round(nrow_train * 100 / sum), '   :', round(nrow_test * 100 / sum))