This commit is contained in:
Mikołaj Pokrywka 2022-04-03 13:52:36 +02:00
parent ec8b44cdaf
commit 0742536cc6
2 changed files with 2 additions and 3 deletions

View File

@ -18,6 +18,4 @@ ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV CUTOFF=${CUTOFF}
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
# Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie
RUN ./process_data.sh
ENV KAGGLE_KEY=${KAGGLE_KEY}

View File

@ -1,6 +1,7 @@
import subprocess
import pandas as pd
import numpy as np
rc = subprocess.call("./process_data.sh")
data=pd.read_csv('fake_job_postings.csv')
data = data.replace(np.nan, '', regex=True)