datasetStats docker
This commit is contained in:
parent
465259aba4
commit
2dda9f1151
6
datasetStats/Jenkinsfile
vendored
6
datasetStats/Jenkinsfile
vendored
@ -22,9 +22,11 @@ pipeline {
|
|||||||
stage('Run sh file') {
|
stage('Run sh file') {
|
||||||
steps {
|
steps {
|
||||||
sh 'ls -l'
|
sh 'ls -l'
|
||||||
|
docker.image('docker-image').inside {
|
||||||
dir('./datasetStats') {
|
dir('./datasetStats') {
|
||||||
sh 'chmod +x ./datasetStats.sh'
|
sh 'ls -l'
|
||||||
sh "./datasetStats.sh"
|
sh 'python3 ./datasetStats.py'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
9
datasetStats/datasetStats.py
Normal file
9
datasetStats/datasetStats.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
home_loan_train = pd.read_csv('home_loan_train.csv')
|
||||||
|
home_loan_test = pd.read_csv('home_loan_test.csv')
|
||||||
|
home_loan_val = pd.read_csv('home_loan_val.csv')
|
||||||
|
|
||||||
|
home_loan_train.describe()
|
||||||
|
home_loan_test.describe()
|
||||||
|
home_loan_val.describe()
|
Loading…
Reference in New Issue
Block a user