Feat: random things
This commit is contained in:
parent
bfebd6b58a
commit
d872cd7681
5
Makefile
5
Makefile
@ -46,4 +46,7 @@ clean_built:
|
|||||||
clean_all: clean_built clean_raw
|
clean_all: clean_built clean_raw
|
||||||
|
|
||||||
import_nextcloud:
|
import_nextcloud:
|
||||||
rsync -a ~/Nextcloud/PLESNA\ Compta\ SYSTEM/Histoire/ ./datas/Histoire
|
rsync -av ~/Nextcloud/PLESNA\ Compta\ SYSTEM/Histoire/ ./datas/Histoire
|
||||||
|
|
||||||
|
push_nextcloud:
|
||||||
|
rsync -av ./datas/datamart/ ~/Nextcloud/PLESNA\ Compta\ SYSTEM/DataMart
|
||||||
|
@ -19,9 +19,6 @@ logger.setLevel(logging.DEBUG)
|
|||||||
|
|
||||||
def build_lots(dfs: list[pd.DataFrame]) -> pd.DataFrame:
|
def build_lots(dfs: list[pd.DataFrame]) -> pd.DataFrame:
|
||||||
df = pd.concat(dfs)
|
df = pd.concat(dfs)
|
||||||
df = df.assign(
|
|
||||||
Impact=df["Crédit"] - df["Débit"],
|
|
||||||
)
|
|
||||||
return df
|
return df
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user