fix
This commit is contained in:
parent
bb272b1cd8
commit
25e9339748
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -18,7 +18,7 @@ pipeline {
|
||||
name: 'KAGGLE_KEY'
|
||||
),
|
||||
string(
|
||||
defaultValue: null,
|
||||
defaultValue: '',
|
||||
description: 'Set cutoff',
|
||||
name: 'CUTOFF',
|
||||
trim: false
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user