datasetStats docker

This commit is contained in:
s487179 2023-04-20 20:04:30 +02:00
parent 465259aba4
commit 2dda9f1151
2 changed files with 14 additions and 3 deletions

View File

@ -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'
}
}
}
}

View 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()