This commit is contained in:
Norbert Walkowiak 2023-04-18 07:45:47 +02:00
parent bb272b1cd8
commit 25e9339748
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -18,7 +18,7 @@ pipeline {
name: 'KAGGLE_KEY'
),
string(
defaultValue: null,
defaultValue: '',
description: 'Set cutoff',
name: 'CUTOFF',
trim: false

View File

@ -11,9 +11,10 @@ if cutoff is None:
print("CUTOFF parameter not set.")
diamonds
else:
cutoff = int(os.environ['CUTOFF'])
cutoff = int(cutoff)
diamonds = diamonds[:cutoff]
diamonds.to_csv('diamonds.csv', index=False) #nadpisanie pliku
diamonds
# %%
#przydzielanie nazwy kolumny z id