diff --git a/datasetStats/Jenkinsfile b/datasetStats/Jenkinsfile index 38e804b..343b586 100644 --- a/datasetStats/Jenkinsfile +++ b/datasetStats/Jenkinsfile @@ -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' + } } } } diff --git a/datasetStats/datasetStats.py b/datasetStats/datasetStats.py new file mode 100644 index 0000000..fa327f0 --- /dev/null +++ b/datasetStats/datasetStats.py @@ -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() \ No newline at end of file