datasetStats docker
This commit is contained in:
parent
465259aba4
commit
2dda9f1151
8
datasetStats/Jenkinsfile
vendored
8
datasetStats/Jenkinsfile
vendored
@ -22,9 +22,11 @@ pipeline {
|
||||
stage('Run sh file') {
|
||||
steps {
|
||||
sh 'ls -l'
|
||||
dir('./datasetStats') {
|
||||
sh 'chmod +x ./datasetStats.sh'
|
||||
sh "./datasetStats.sh"
|
||||
docker.image('docker-image').inside {
|
||||
dir('./datasetStats') {
|
||||
sh 'ls -l'
|
||||
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