text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

df = pd.read_csv('../input/30days-folds/train_folds.csv')
train = df
df_test = pd.read_csv('../input/30-days-of-ml/test.csv')
sample_submission = pd.read_csv('../input/30-days-of-ml/sample_submission.csv')

fig, ax = plt.subplots(figsize=(5, 5))
pie = ax.pie([len(df), len(df_test)], labels=['Train dataset', 'Test dataset'], colors=['salmon', 'teal'], textprops={'fontsize': 15}, autopct='%1.1f%%')
ax.axis('equal')
ax.set_title('Dataset length comparison', fontsize=18)
fig.set_facecolor('white')
plt.show()