You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes you think that nobody is using scikit-learn with Python >= 3.11 which is rather suprising.
Looking at the query there is a LIMIT 4 on the last line which I believe is the source of the problem (there may be a reason why is there maybe efficiency?):
SELECT
python_minor as name,
if(date_diff('month', {min_date:Date32},{max_date:Date32}) <=6,toStartOfDay(date)::Date32, toStartOfWeek(date)::Date32) AS x,
sum(count) AS y
FROMpypi.pypi_downloads_per_day_by_version_by_pythonWHERE (date>= {min_date:Date32}) AND (date< if(date_diff('month', {min_date:Date32},{max_date:Date32}) <=6,toStartOfDay({max_date:Date32})::Date32, toStartOfWeek({max_date:Date32})::Date32)) AND (project = {package_name:String})
AND1=1AND python_minor !=''AND1=1AND1=1GROUP BY name, x
ORDER BY x ASC, y DESCLIMIT4 BY x
If I remove the LIMIT 4 I do see that scikit-learn is used with Python >= 3.11 as expected.
Expected behavior
All Python versions are shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I don't think is relevant
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I think this was added to make things render better over large time periods @lesteve otherwise we get a chart which just isnt usable. We had a few options here:
Get the top N for the whole period and only show these - this fails to show new released versions unfortunately.
Get the top 4 for each period and use these - this is what we do now and it generally works (except where the same top 4 are for each period)
I think we should remove the limit but bucket anything over 10 into an other bucket - similar to sql UI here
Describe the bug
The "Downloads by Python version over time" is only showing a subset of versions which is confusing.
To Reproduce
Steps to reproduce the behavior:
Look at the scikit-learn dashboard for the last year https://clickpy.clickhouse.com/dashboard/scikit-learn?min_date=2024-01-01&max_date=2025-01-01
It makes you think that nobody is using scikit-learn with Python >= 3.11 which is rather suprising.
Looking at the query there is a
LIMIT 4
on the last line which I believe is the source of the problem (there may be a reason why is there maybe efficiency?):If I remove the
LIMIT 4
I do see that scikit-learn is used with Python >= 3.11 as expected.Expected behavior
All Python versions are shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: