From 53689f5d426c8dd44b35ff04e1b23fec1be87203 Mon Sep 17 00:00:00 2001 From: ElEgEv <112943269+ElEgEv@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:30:07 +0400 Subject: [PATCH] Lab work 1. --- LabWork01/FuncLoad.py | 3 --- LabWork01/LoadDB.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/LabWork01/FuncLoad.py b/LabWork01/FuncLoad.py index 10dec80..08a34b0 100644 --- a/LabWork01/FuncLoad.py +++ b/LabWork01/FuncLoad.py @@ -1,7 +1,4 @@ -import csv -import numpy as np import pandas as pd -from LabWork01.Shop import Shop def createDataFrame(): df = pd.read_csv('../res/Stores.csv') diff --git a/LabWork01/LoadDB.py b/LabWork01/LoadDB.py index c26559f..b1fa829 100644 --- a/LabWork01/LoadDB.py +++ b/LabWork01/LoadDB.py @@ -14,7 +14,7 @@ countNull = listShops.isnull().sum() @app.route("/") def home(): - return render_template('main_page.html', context=[], listTypes=listTypes, countNull=countNull, firstColumn=1, secondColumn=4) + return render_template('main_page.html', context=[], listTypes=listTypes, countNull=countNull, firstRow=1, secondRow=2, firstColumn=1, secondColumn=4) @app.route("/showDiapason", methods=['GET','POST']) def numtext():