Compare commits
48 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 24953d069e | |||
| 25638ed946 | |||
| a2ad2bac8b | |||
| ed94d86ba4 | |||
| 7bcfd26fb0 | |||
| 7fd83a2e55 | |||
| a93fe5c99d | |||
| aef8711986 | |||
| e717dc45aa | |||
| c6aa008983 | |||
| f85a9e11cf | |||
| 9c4d8a9516 | |||
| 133ad609ed | |||
| 73e9bdf384 | |||
| 5162dffb48 | |||
| 80769e41fa | |||
| 91b5cda1b9 | |||
| 0a27bf6b5e | |||
| 973c33d609 | |||
| 93b544961e | |||
| ce17fc9229 | |||
| 705e6a7093 | |||
| 47faddeb9b | |||
| f1301050e0 | |||
| 31f66a78b2 | |||
| 250e38ee71 | |||
| 33c19d9b05 | |||
| 9c8d8446dc | |||
| a0e1cd6e08 | |||
| ba496fdfbf | |||
| cf6185b1c2 | |||
| 9da7f6c0ab | |||
| 5b964e00ab | |||
| 4c3d57135f | |||
| c37a42334a | |||
| c7e114a034 | |||
| 496b5434a4 | |||
| 4bce94b415 | |||
| e59eacd94a | |||
| 6037e77407 | |||
| 283d8fbcfa | |||
| c0d52cad5a | |||
| c9e8df56c1 | |||
| fa0b34942d | |||
| 4695571ff2 | |||
| 7f6b940290 | |||
| 5e9a541735 | |||
| c23bf09041 |
@ -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