fix
This commit is contained in:
parent
bb272b1cd8
commit
25e9339748
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -18,7 +18,7 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
),
|
),
|
||||||
string(
|
string(
|
||||||
defaultValue: null,
|
defaultValue: '',
|
||||||
description: 'Set cutoff',
|
description: 'Set cutoff',
|
||||||
name: 'CUTOFF',
|
name: 'CUTOFF',
|
||||||
trim: false
|
trim: false
|
||||||
|
@ -11,9 +11,10 @@ if cutoff is None:
|
|||||||
print("CUTOFF parameter not set.")
|
print("CUTOFF parameter not set.")
|
||||||
diamonds
|
diamonds
|
||||||
else:
|
else:
|
||||||
cutoff = int(os.environ['CUTOFF'])
|
cutoff = int(cutoff)
|
||||||
diamonds = diamonds[:cutoff]
|
diamonds = diamonds[:cutoff]
|
||||||
diamonds.to_csv('diamonds.csv', index=False) #nadpisanie pliku
|
diamonds.to_csv('diamonds.csv', index=False) #nadpisanie pliku
|
||||||
|
diamonds
|
||||||
|
|
||||||
# %%
|
# %%
|
||||||
#przydzielanie nazwy kolumny z id
|
#przydzielanie nazwy kolumny z id
|
||||||
|
Loading…
Reference in New Issue
Block a user