This commit is contained in:
ElEgEv 2023-10-25 19:33:53 +04:00
parent cc95ac9a66
commit 630cf8a4cd

View File

@ -13,10 +13,8 @@ def analysCustomersDataFrame(df: pandas.DataFrame):
minMaxMean_one.columns = minMaxMean_one.columns.droplevel()
minMaxMean_two = table_two.agg({'Daily_Customer_Count': ['min', 'max', 'mean']}).round(2).reset_index()
minMaxMean_two.columns = minMaxMean_two.columns.droplevel()
minMaxMean_two = minMaxMean_two.iloc[:, 1:4]
minMaxMean_three = table_three.agg({'Daily_Customer_Count': ['min', 'max', 'mean']}).round(2).reset_index()
minMaxMean_three.columns = minMaxMean_three.columns.droplevel()
minMaxMean_three = minMaxMean_three.iloc[:, 1:4]
df1 = pd.DataFrame()
df1['small'] = minMaxMean_one['min']