some notes

This commit is contained in:
Norm Rasmussen
2022-10-31 15:36:34 -04:00
parent 3cac385a7f
commit d7fca08819
5 changed files with 33 additions and 1 deletions

View File

@ -31,15 +31,17 @@ def findlatestExport(currentDash):
def copytoDash(latestdownload, currentDash):
readExport = pd.read_excel(latestdownload, index_col=False)
print(readExport)
readExport.drop(
readExport.filter(
regex="Unname"
),axis=1,
inplace=True)
copiedData = readExport.copy()
bringtoExcel(latestdownload, currentDash, copiedData)
#with pd.ExcelWriter("")
def bringtoExcel(latestdownload, currentDash):
def bringtoExcel(latestdownload, currentDash, copiedData):
with pd.ExcelWriter(
currentDash,
mode="a",