Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0835312cf9 | |||
| 5f584a7a6b | |||
| 280fd043c6 | |||
| 55c1a19ee0 | |||
| 10834c8fa4 | |||
| 3c96cee778 | |||
| 5d300b76fc | |||
| 0ca8dba4f1 | |||
| 1e0108ed33 | |||
| 905878866a | |||
| bfa2964931 | |||
| e73d53240f | |||
| 7f239e4ce9 | |||
| b1b3d4a250 | |||
| 9963e516ac | |||
| a5fd6e7b05 | |||
| 1d92e73dc5 | |||
| 5678ecb358 | |||
| 3ee95506ed | |||
| 8c23d63e44 | |||
| eb22366c0c | |||
| b6ab8a5018 | |||
| 2d63c0165e | |||
| c56783a7dc | |||
| 5d076e0eaa | |||
| 80d67a57d9 | |||
| 4243a80c34 | |||
| 1092d6952f | |||
| c80a4b73a1 | |||
| d9465bd8ec | |||
| 6c0b119362 | |||
| 30cfbcd651 |
@ -1,7 +0,0 @@
|
|||||||
def compare(a: str) -> bool:
|
|
||||||
for i in range(len(a)):
|
|
||||||
if(a[i].isdigit() == False):
|
|
||||||
if a[i] == "<":
|
|
||||||
return int(a[:i]) < int(a[i + 1:])
|
|
||||||
elif (a[i] == ">"):
|
|
||||||
return int(a[:i]) > int(a[i + 1:])
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
import pandas as pd
|
|
||||||
|
|
||||||
def count_sum(df: pd.DataFrame) -> pd.DataFrame:
|
|
||||||
return df.groupby('Товар')['Количество'].sum().reset_index().set_index('Товар')
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
from datetime import datetime, timedelta
|
|
||||||
|
|
||||||
def get_last_friday(a: str) -> str:
|
|
||||||
date = datetime.strptime(a, "%m/%Y").date()
|
|
||||||
next_month = date.replace(day=28) + timedelta(days=7)
|
|
||||||
last_day = next_month - timedelta(days=next_month.day)
|
|
||||||
|
|
||||||
# Идем назад до пятницы
|
|
||||||
while last_day.weekday() != 4:
|
|
||||||
last_day -= timedelta(days=1)
|
|
||||||
|
|
||||||
return last_day.strftime("%d.%m.%Y")
|
|
||||||
9445
mathmodenjoyer.jmx
Normal file
9445
mathmodenjoyer.jmx
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user