Fix get data
This commit is contained in:
parent
25280232db
commit
ff334e1a95
@ -9,6 +9,5 @@ RUN pip3 install -r ./requirements.txt
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./stats.py ./
|
||||
COPY /kaggle.json /root/.kaggle/
|
||||
|
||||
CMD python3 stats.py
|
4
stats.py
4
stats.py
@ -3,8 +3,8 @@ import numpy as np
|
||||
import pandas as pd
|
||||
from sklearn import preprocessing
|
||||
|
||||
with zipfile.ZipFile('covid-world-vaccination-progress.zip', 'r') as zip_ref:
|
||||
zip_ref.extractall(".")
|
||||
url = 'https://git.wmi.amu.edu.pl/s434804/ium_434804/raw/branch/master/country_vaccinations.csv'
|
||||
wget.download(url, out='country_vaccinations.csv', bar=None)
|
||||
|
||||
df = pd.read_csv('country_vaccinations.csv')
|
||||
# podział danych na train/validate/test (6:2:2) za pomocą biblioteki numpy i pandas
|
||||
|
Loading…
Reference in New Issue
Block a user