This commit is contained in:
Klaudia 2023-05-11 18:40:03 +02:00
parent 2b95806379
commit eca972066a

View File

@ -6,6 +6,7 @@ import train
CUTOFF = int(os.environ['CUTOFF']) CUTOFF = int(os.environ['CUTOFF'])
adults = pd.read_csv('adult.csv') adults = pd.read_csv('adult.csv')
adults = adults.dropna() adults = adults.dropna()
adults = adults.drop(adults.columns[[1, 3, 4, 5, 6, 7, 8, 9, 13, 14]], axis=1)
adults = adults.sample(CUTOFF) adults = adults.sample(CUTOFF)