image_output_1.png
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')

df.describe(percentiles=[0.1, 0.25, 0.5, 0.75, 0.9]).T

print(f"{(df['target'] < 5).sum() / len(df) * 100:.3f}% of the target values are less than 5")