Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas committed Jul 3, 2024
1 parent 4ec88d3 commit 48d2d38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pypi_scout/utils/score_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def calculate_score(
Returns:
pl.DataFrame: DataFrame with the combined score and sorted by this score in descending order.
"""
print(df.sort("weekly_downloads", descending=True).head(10)["name"])
df = df.with_columns(
log_weekly_downloads=pl.col("weekly_downloads").apply(lambda x: np.log1p(x)) # log1p is log(1 + x)
)
Expand Down

0 comments on commit 48d2d38

Please sign in to comment.