refactoring

This commit is contained in:
Mikołaj Pokrywka 2022-04-03 13:15:58 +02:00
parent d62a7af32d
commit 0b623cb5a9
2 changed files with 1 additions and 1 deletions

View File

@ -12,3 +12,4 @@ RUN pip3 install -r ./requirements.txt
COPY ./process_data.sh ./ COPY ./process_data.sh ./
COPY ./download_data_and_process.py ./ COPY ./download_data_and_process.py ./
COPY ./stats.py ./ COPY ./stats.py ./
RUN ./process_data.sh

View File

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