From 235898513258a6a41ef4a2f27fcd30f40fc039d0 Mon Sep 17 00:00:00 2001 From: Maciej Sobkowiak Date: Mon, 12 Apr 2021 00:30:39 +0200 Subject: [PATCH] preprocesing fix --- preprocesing_python.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/preprocesing_python.py b/preprocesing_python.py index 0631a96..85d6a74 100644 --- a/preprocesing_python.py +++ b/preprocesing_python.py @@ -1,12 +1,9 @@ import sys -import kaggle import pandas as pd import numpy as np import matplotlib.pyplot as plt sc = pd.read_csv('who_suicide_statistics.csv') -sc - train, validate, test = np.split(sc.sample(frac=1, random_state=42), [int(.6*len(sc)), int(.8*len(sc))])