DV Script and Walmart changes

This commit is contained in:
Norm Rasmussen
2022-11-02 17:03:56 -04:00
parent 1a0a24a5ec
commit f9d4502301
6 changed files with 194 additions and 4 deletions

View File

@ -34,9 +34,11 @@ def copytoDash(latestdownload, currentDash):
latestdownload,
index_col=False,
header=0,
low_memory=False,
dtype={
'Progress':int
})
'Progress':object
}
)
print(readExport)
readExport.drop(
readExport.filter(
@ -45,7 +47,6 @@ def copytoDash(latestdownload, currentDash):
inplace=True)
copiedData = readExport.copy()
bringtoExcel(latestdownload, currentDash, copiedData)
#with pd.ExcelWriter("")
def bringtoExcel(latestdownload, currentDash, copiedData):
with pd.ExcelWriter(
@ -60,7 +61,6 @@ def bringtoExcel(latestdownload, currentDash, copiedData):
sheet_name="Data",
index=False,
)
# cleanitUp(currentDash)
def cleanitUp(currentDash):
cleanExcel = pd.read_excel(currentDash, sheet_name="Data", index_col=None)