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