fix conflicts from pull
continuous-integration/drone/push Build is passing Details

pull/21/head
remrem 10 months ago
commit a6728d1e9c

@ -0,0 +1,31 @@
kind: pipeline
type: docker
name: Pow
trigger:
event:
- push
steps:
- name: build-pow
image: plugins/docker
settings:
dockerfile: ./src/Dockerfile
context: ./src
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/dorian.hodin/pow
username:
from_secret: SECRET_USERNAME
password:
from_secret: SECRET_PASSWD
- name: deploy-pow
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/dorian.hodin/pow:latest
CONTAINERNAME: pow
COMMAND: create
OVERWRITE: true
ADMINS: dorianhodin,aurianjault,remiarnal
depends_on: [ build-pow ]

2
.gitignore vendored

@ -159,4 +159,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/

Binary file not shown.

@ -0,0 +1,11 @@
FROM python:3.9
WORKDIR /app
COPY . .
RUN pip install --upgrade pip
RUN pip install streamlit matplotlib pandas scikit-learn
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "home.py", "--server.port=8501", "--server.address=0.0.0.0"]

@ -2,6 +2,7 @@ import pandas as pd
import numpy as np import numpy as np
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
<<<<<<< HEAD
def return_csv(path): def return_csv(path):
df = pd.read_csv(path) df = pd.read_csv(path)
return df return df
@ -13,7 +14,6 @@ def csv_value(df):
print(df.isna().sum()) print(df.isna().sum())
# Useless values # Useless values
def csv_check(df): def csv_check(df):
for col in df: for col in df:
print("-"*12) print("-"*12)

Loading…
Cancel
Save