Skip to content

Commit 38635fe

Browse files
authored
update kwargs in pypistats calls to get the script working again (#714)
1 parent 647929a commit 38635fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/tracking/pypistats/get_pypi_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
downloadfn = "downloads_data.csv"
1010
sysdownloadfn = "sys_downloads_data.csv"
1111

12-
downloads = pypistats.overall("icepyx", total=True, format="pandas").drop(
12+
downloads = pypistats.overall("icepyx", total="daily", format="pandas").drop(
1313
columns=["percent"]
1414
)
1515
downloads = downloads[downloads.category != "Total"]
@@ -27,7 +27,7 @@
2727
trackpath + downloadfn, index=False
2828
)
2929

30-
sysdownloads = pypistats.system("icepyx", total=True, format="pandas").drop(
30+
sysdownloads = pypistats.system("icepyx", total="daily", format="pandas").drop(
3131
columns=["percent"]
3232
)
3333
sysdownloads = sysdownloads[sysdownloads.category != "Total"]

0 commit comments

Comments
 (0)