Lab work 1.
This commit is contained in:
parent
7b1862cfba
commit
53689f5d42
@ -1,7 +1,4 @@
|
|||||||
import csv
|
|
||||||
import numpy as np
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from LabWork01.Shop import Shop
|
|
||||||
|
|
||||||
def createDataFrame():
|
def createDataFrame():
|
||||||
df = pd.read_csv('../res/Stores.csv')
|
df = pd.read_csv('../res/Stores.csv')
|
||||||
|
@ -14,7 +14,7 @@ countNull = listShops.isnull().sum()
|
|||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def home():
|
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'])
|
@app.route("/showDiapason", methods=['GET','POST'])
|
||||||
def numtext():
|
def numtext():
|
||||||
|
Loading…
Reference in New Issue
Block a user