From 0fc952b41e5cfbaba2a08f50c5890adfda92de01 Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sat, 2 Apr 2022 17:05:50 +0200 Subject: [PATCH] Update 'process_dataset.py' --- process_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_dataset.py b/process_dataset.py index 8a93890..cf5f748 100644 --- a/process_dataset.py +++ b/process_dataset.py @@ -14,8 +14,8 @@ lego['piece_count'] = lego['piece_count'].apply(np.int64) lego['prod_id'] = lego['prod_id'].apply(np.int64) # wglad, statystyki -print(lego) -print(lego.describe(include='all')) +print(lego[:10]) +print(lego.describe(include='all')[:10]) # pierwszy podzial, wydzielamy zbior treningowy lego_train, lego_rem = train_test_split(lego, train_size=0.8, random_state=1)